aboutsummaryrefslogtreecommitdiff
path: root/init.d/sysctl.in
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-01-31 05:23:33 +0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-04-24 19:18:18 -0500
commit5f04dcc951c51b33ed8fabe50c9d3284944b5609 (patch)
tree96fc789185c9bfada3b5b6c1a797a6a58e298236 /init.d/sysctl.in
parent8f52c64c37de39a757c857fd4d03c078d3979dc7 (diff)
fstabinfo: replace vfork with posix_spawnp
problem: * vfork has been removed from POSIX [0]. * clang-tidy flags the `strerror` and `eerror` call inside the vfork-ed child as undefined behavior. solution: use posix_spawnp, which is serves similar purpose and is specified in posix. and as an added bonus, it's also easier to use and less lines of code. [0]: https://www.man7.org/linux/man-pages/man2/vfork.2.html#CONFORMING_TO
Diffstat (limited to 'init.d/sysctl.in')
0 files changed, 0 insertions, 0 deletions