Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1517679
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/2] Support compiling out the prctl syscall |
| Date | 2016-11-09 01:30 +0100 |
| Message-ID | <sBoW5-8nD-9@gated-at.bofh.it> (permalink) |
| References | <sBoMp-8k7-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tuesday, November 8, 2016 4:17:47 PM CET Josh Triplett wrote: > Some embedded systems can do without the prctl syscall, saving some space. > > This also avoids regular increases in tinyconfig size as people add more > non-optional functionality to prctl (observed via the 0-day kernel > infrastructure). > > The first patch moves prctl and all its helpers into a separate source file, > kernel/prctl.c, to allow making it optional via the Makefile without any > ifdefs. The second patch adds the Kconfig option to make prctl optional. > > Josh Triplett (2): > kernel: Move prctl and helpers from kernel/sys.c to new kernel/prctl.c > kernel: Support compiling out the prctl syscall > Both of these look really nice to me. Another syscall that comes to mind as a candidate to be made optional is ptrace, and I've added Nicolas Pitre to Cc here, as he has looked into this before. Another area to look at may be syscalls that are always defined but that are no longer part of the default syscall table in include/uapi/asm-generic/unistd.h. Maybe we can have a single conditional for those. Arnd
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Support compiling out the prctl syscall Josh Triplett <josh@joshtriplett.org> - 2016-11-09 01:20 +0100
[PATCH 1/2] kernel: Move prctl and helpers from kernel/sys.c to new kernel/prctl.c Josh Triplett <josh@joshtriplett.org> - 2016-11-09 01:20 +0100
Re: [PATCH 1/2] kernel: Move prctl and helpers from kernel/sys.c to new kernel/prctl.c Andy Lutomirski <luto@amacapital.net> - 2016-11-09 01:30 +0100
Re: [PATCH 1/2] kernel: Move prctl and helpers from kernel/sys.c to new kernel/prctl.c Cyrill Gorcunov <gorcunov@gmail.com> - 2016-11-09 08:10 +0100
Re: [PATCH 0/2] Support compiling out the prctl syscall Arnd Bergmann <arnd@arndb.de> - 2016-11-09 01:30 +0100
Re: [PATCH 0/2] Support compiling out the prctl syscall Josh Triplett <josh@joshtriplett.org> - 2016-11-09 04:50 +0100
Re: [PATCH 0/2] Support compiling out the prctl syscall Nicolas Pitre <nicolas.pitre@linaro.org> - 2016-11-09 01:40 +0100
csiph-web