Changeset c74b9de in mainline


Ignore:
Timestamp:
2018-11-03T07:35:44Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ad2cf04
Parents:
e131bd05
Message:

Fail gracefully on failure to allocate TLS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    re131bd05 rc74b9de  
    308308#endif
    309309
     310        if (!pcb.tcb) {
     311                DPRINTF("Failed to make TLS for '%s'.\n", progname);
     312                async_answer_0(req, ENOMEM);
     313                return 1;
     314        }
     315
    310316        elf_set_pcb(&prog_info, &pcb);
    311317
Note: See TracChangeset for help on using the changeset viewer.