diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-17 13:26:13 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-17 13:34:34 -0400 |
commit | 2f368e4a114888dae8c7ebb1020efc3d922b61e9 (patch) | |
tree | a6c9cd3bdf2a010a0c5a62e976b340327f72d8fa /man/systemd-logind.service.xml | |
parent | a44202e98b638024c45e50ad404c7069c7835c04 (diff) |
basic/missing: move syscall definitions to basic/missing_syscall.h
We have a bunch of syscall wrapper definitions and it's easier to
see that they follow the same pattern if they are not interspersed
with other defines.
Change the wrappers to be uniform:
- if __NR_XXX is not defined, do not bother to call the syscall,
and return -1/ENOSYS immediately.
- do not check __NR_XXX defines if we detect the symbol as defined,
since we don't need them anyway
- reindent stuff for readability
New file basic/missing_syscall.h is included at the end of missing.h
because it might make use of some of the definitions in missing.h.
Diffstat (limited to 'man/systemd-logind.service.xml')
0 files changed, 0 insertions, 0 deletions