Skip to content

Commit a08b4be

Browse files
Cedric Le GoaterLinus Torvalds
authored andcommitted
ipc namespace: remove config ipc ns fix
Finish the work : kill all #ifdef CONFIG_IPC_NS. Thanks Robert ! Signed-off-by: Cedric Le Goater <clg@fr.ibm.com> Cc: Eric Biederman <ebiederm@xmision.com> Cc: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c98673f commit a08b4be

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎ipc/ipc_sysctl.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,13 @@
1515
#include <linux/sysctl.h>
1616
#include <linux/uaccess.h>
1717

18-
#ifdef CONFIG_IPC_NS
1918
static void *get_ipc(ctl_table *table)
2019
{
2120
char *which = table->data;
2221
struct ipc_namespace *ipc_ns = current->nsproxy->ipc_ns;
2322
which = (which - (char *)&init_ipc_ns) + (char *)ipc_ns;
2423
return which;
2524
}
26-
#else
27-
#define get_ipc(T) ((T)->data)
28-
#endif
2925

3026
#ifdef CONFIG_PROC_FS
3127
static int proc_ipc_dointvec(ctl_table *table, int write, struct file *filp,

0 commit comments

Comments
 (0)