about summary refs log tree commit diff
path: root/arch/sh
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-10-01 22:25:40 +0200
committerRich Felker <dalias@aerifal.cx>2014-10-08 11:39:28 -0400
commita3763d64e0d65ed1902b36c521c57cd252b9c3be (patch)
tree2b5d6e63779baaa524829e065d57ded57c4990ce /arch/sh
parenta0c90b9773bd9b5b6faa7a657e22794c1e643989 (diff)
downloadmusl-a3763d64e0d65ed1902b36c521c57cd252b9c3be.tar.gz
musl-a3763d64e0d65ed1902b36c521c57cd252b9c3be.tar.xz
musl-a3763d64e0d65ed1902b36c521c57cd252b9c3be.zip
add new linux file sealing api to fcntl.h
new in linux v3.17 commit 40e041a2c858b3caefc757e26cb85bfceae5062b
sealing allows some operations to be blocked on a file which makes
file access safer when fds are shared between processes (only
supported for shared mem fds currently)

flags:
F_SEAL_SEAL prevents further sealing
F_SEAL_SHRINK prevents file from shrinking
F_SEAL_GROW prevents file from growing
F_SEAL_WRITE prevents writes

fcntl commands:
F_GET_SEALS get the current seal flags
F_ADD_SEALS add new seal flags
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions