summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-12 02:52:39 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-12 03:02:09 +0100
commitdb999e0f923ca6c2c1b919d0f1c916472f209e62 (patch)
tree16787cf5dd7258402b56082556e0c03594aec0ed /src/shared
parentdd513a5dbfa0d5f97084c7c8e475530a03cfd973 (diff)
nspawn: newer kernels (>= 3.14) allow resetting the audit loginuid, make use of this
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/audit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/shared/audit.c b/src/shared/audit.c
index 8038ac3c12..5466447737 100644
--- a/src/shared/audit.c
+++ b/src/shared/audit.c
@@ -42,10 +42,6 @@ int audit_session_from_pid(pid_t pid, uint32_t *id) {
assert(id);
- /* Audit doesn't support containers right now */
- if (detect_container(NULL) > 0)
- return -ENOTSUP;
-
p = procfs_file_alloca(pid, "sessionid");
r = read_one_line_file(p, &s);
@@ -71,10 +67,6 @@ int audit_loginuid_from_pid(pid_t pid, uid_t *uid) {
assert(uid);
- /* Audit doesn't support containers right now */
- if (detect_container(NULL) > 0)
- return -ENOTSUP;
-
p = procfs_file_alloca(pid, "loginuid");
r = read_one_line_file(p, &s);