Files
systemd/src/shared
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
..
2021-11-30 23:06:43 +09:00
2021-11-30 12:30:07 +00:00
2022-01-22 16:48:42 +09:00
2022-01-22 16:48:42 +09:00
2021-06-30 23:33:00 +09:00
2021-09-22 12:58:46 +02:00
2021-02-22 20:10:55 +01:00
2022-01-04 04:27:11 +09:00
2021-10-06 10:52:14 +02:00
2021-10-06 10:52:14 +02:00
2021-03-13 12:26:10 +01:00
2021-05-17 22:27:41 +01:00
2021-10-20 22:20:18 +09:00
2021-11-16 13:55:49 +01:00
2021-11-03 15:24:56 +01:00
2021-03-05 07:10:13 +09:00
2021-12-23 13:49:12 +01:00
2021-03-05 07:10:13 +09:00
2022-01-07 09:31:57 +01:00