diff options
Diffstat (limited to 'testcases/kernel/syscalls/capset/capset04.c')
-rw-r--r-- | testcases/kernel/syscalls/capset/capset04.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testcases/kernel/syscalls/capset/capset04.c b/testcases/kernel/syscalls/capset/capset04.c index f929be555..13477a4a9 100644 --- a/testcases/kernel/syscalls/capset/capset04.c +++ b/testcases/kernel/syscalls/capset/capset04.c @@ -1,12 +1,18 @@ // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) Wipro Technologies Ltd, 2002. All Rights Reserved. + * Copyright (c) Linux Test Project, 2020-2023 * Author: Saji Kumar.V.R <saji.kumar@wipro.com> + */ + +/*\ + * [Description] * - * Tests whether we can use capset() to modify the capabilities of a thread + * Test whether capset() can be used to modify the capabilities of a thread * other than itself. Now, most linux distributions with kernel supporting * VFS capabilities, this should be never permitted. */ + #include <stdlib.h> #include <sys/types.h> #include <unistd.h> |