Files
systemd/src
Donald Chan a718364e9d basic: mac_[selinux,smack]_apply_fd does not work when applying labels
Commit a7fdc6c introduced a regression where file descriptors are opened
using O_PATH option. mac_smack_apply_fd() calls fsetxattr() and would fail
with a -EBADF (Bad file descriptor) error.

Use FORMAT_PROC_FD_PATH(fd) to convert the fd back into a full path and
call setxattr() or setfilecon() instead.

Signed-off-by: Donald Chan <hoiho@amazon.com>
2022-01-31 04:43:56 +09:00
..
2022-01-11 14:15:54 +01:00
2022-01-28 10:50:36 +09:00
2022-01-28 04:47:39 +09:00
2022-01-11 14:15:54 +01:00
2022-01-11 14:15:54 +01:00
2022-01-11 14:15:54 +01:00
2022-01-11 14:15:54 +01:00
2022-01-11 14:15:54 +01:00
2022-01-28 12:56:29 +00:00
2022-01-11 14:15:54 +01:00
2022-01-29 22:36:29 +01:00
2022-01-11 14:15:54 +01:00
2022-01-11 14:15:54 +01:00