summaryrefslogtreecommitdiff
path: root/libdiskfs/protid-make.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-10 14:22:31 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-06-18 15:57:00 +0200
commit944cfdbe6cff4e8025a730228b48c1a21b4a2e33 (patch)
tree32accaee79c274514ead2fadd1a9975b2000fe8b /libdiskfs/protid-make.c
parent8821d8a213008eb723414c6c70de384830ea10d7 (diff)
libdiskfs: add permission check to file_chflags
Only root is allowed to change the high 16 bits. The TODO entry says otherwise, but that must be a mistake. For reference, see the glibc sources, sysdeps/mach/hurd/bits/stat.h. * libdiskfs/file-chflags.c (diskfs_S_file_chflags): Add permission check. * TODO (libdiskfs): Remove entry.
Diffstat (limited to 'libdiskfs/protid-make.c')
0 files changed, 0 insertions, 0 deletions