]> git.pld-linux.org Git - packages/strace.git/blob - strace-linux.patch
patches
[packages/strace.git] / strace-linux.patch
1 diff -urN strace-4.0.orig/system.c strace-4.0/system.c
2 --- strace-4.0.orig/system.c    Mon Aug 16 16:10:53 1999
3 +++ strace-4.0/system.c Mon Aug 16 16:23:37 1999
4 @@ -70,6 +70,8 @@
5  #include <linux/sysctl.h>
6  #endif
7  
8 +#include <linux/version.h>
9 +
10  static struct xlat mount_flags[] = {
11         { MS_RDONLY,    "MS_RDONLY"     },
12         { MS_NOSUID,    "MS_NOSUID"     },
13 @@ -1278,7 +1280,11 @@
14         { KERN_PROF, "KERN_PROF" },
15         { KERN_NODENAME, "KERN_NODENAME" },
16         { KERN_DOMAINNAME, "KERN_DOMAINNAME" },
17 +#if LINUX_VERSION_CODE >= 131595
18 +       { KERN_CAP_BSET, "KERN_CAP_BSET" },
19 +#else
20         { KERN_SECURELVL, "KERN_SECURELVL" },
21 +#endif
22         { KERN_PANIC, "KERN_PANIC" },
23         { KERN_REALROOTDEV, "KERN_REALROOTDEV" },
24         { KERN_JAVA_INTERPRETER, "KERN_JAVA_INTERPRETER" },
This page took 0.028969 seconds and 4 git commands to generate.