jail: don't ignore return value of write()
authorDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 15:35:29 +0000 (16:35 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 15:35:29 +0000 (16:35 +0100)
commit516bdf26d4f60dc5fb063da8715fed2bad24dbd0
tree047a611e3f0789aba52470ceaefe2f8137a4fcfe
parentbfc86a2ccc8c92b4c7a0216d28b1287c9011f945
jail: don't ignore return value of write()

Check return value of write() call when writing to sysctl.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c