Christian Göttsche
98d463ef5d
copy,install: avoid unnecessary security context translations
...
Do not perform SELinux context translation for operations not involving
user input or output. Context translation converts MCS/MLS labels into
human readable form, which is useful for user facing applications like
ls(1) or the --context=CTX argument of cp(1).
* src/copy.c (set_process_security_ctx): Use raw selinux variants.
* src/install.c (need_copy): Likewise.
(setdefaultfilecon): Likewise.
* src/selinux.c (computecon): Likewise.
(defaultcon): Likewise.
* tests/cp/no-ctx.sh: Add raw variants to preload lib.
* NEWS: Mention the improvement.
2023-12-19 17:34:33 +00:00
..
2023-10-28 13:13:34 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-12-15 13:19:27 +00:00
2023-02-18 13:30:10 -08:00
2023-12-15 13:19:27 +00:00
2023-06-19 13:12:37 +01:00
2023-08-27 20:22:32 +01:00
2023-12-19 17:34:33 +00:00
2023-08-28 14:06:43 -07:00
2023-11-16 11:37:25 -08:00
2023-06-19 13:12:37 +01:00
2023-06-11 23:10:34 +01:00
2023-08-28 14:06:43 -07:00
2023-04-16 16:11:20 +01:00
2023-08-28 14:06:43 -07:00
2023-11-16 11:37:25 -08:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-04-21 19:13:52 +01:00
2023-01-01 14:50:15 +00:00
2023-11-03 16:34:38 +00:00
2023-11-27 19:41:49 +00:00
2023-01-01 14:50:15 +00:00
2023-07-22 13:41:07 -07:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-04-25 14:18:35 +01:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-06-19 13:12:37 +01:00
2023-08-28 14:06:43 -07:00
2023-08-28 14:06:43 -07:00
2023-08-19 16:45:17 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-07-18 23:10:40 +01:00
2023-12-01 23:01:32 +00:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-01-01 14:50:15 +00:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-06-19 13:12:37 +01:00
2023-11-16 11:37:25 -08:00
2023-09-23 00:28:27 -07:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2015-11-06 16:40:42 +00:00
2023-01-01 14:50:15 +00:00
2011-04-13 11:18:48 +01:00
2012-09-14 10:20:03 +02:00
2023-05-07 23:07:12 +02:00
2006-08-16 20:11:42 +00:00
2023-12-15 13:19:27 +00:00
2015-11-10 13:03:33 +00:00
2023-01-01 14:50:15 +00:00
2023-01-01 14:50:15 +00:00
2021-05-12 22:14:11 +01:00