From 936e4c229a4ed205e9981fc4f31acea063701b69 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 17 Jul 2013 11:57:02 +0200 Subject: Don't load configs from user directory when setuid When running as setuid() or setgid() don't access the user's home directory, or use $HOME environment variables. https://bugzilla.redhat.com/show_bug.cgi?id=985014 --- p11-kit/tests/files/system-modules/one.module | 3 ++- p11-kit/tests/files/user-modules/one.module | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'p11-kit/tests/files') diff --git a/p11-kit/tests/files/system-modules/one.module b/p11-kit/tests/files/system-modules/one.module index 15cb7f2..5f49a8f 100644 --- a/p11-kit/tests/files/system-modules/one.module +++ b/p11-kit/tests/files/system-modules/one.module @@ -1,4 +1,5 @@ module: mock-one.so setting: system1 -trust-policy: yes \ No newline at end of file +trust-policy: yes +number: 18 diff --git a/p11-kit/tests/files/user-modules/one.module b/p11-kit/tests/files/user-modules/one.module index 6f1a2e8..5197daf 100644 --- a/p11-kit/tests/files/user-modules/one.module +++ b/p11-kit/tests/files/user-modules/one.module @@ -1,3 +1,4 @@ setting: user1 -managed: yes \ No newline at end of file +managed: yes +number: 33 -- cgit v1.1