]> git.pld-linux.org Git - packages/kernel.git/blob - kernel-vserver-fixes.patch
df4490fd1199d047322e0b7c1680c67a1a3579e2
[packages/kernel.git] / kernel-vserver-fixes.patch
1 --- linux-3.3/fs/proc/base.c~   2012-03-19 21:44:42.000000000 +0100
2 +++ linux-3.3/fs/proc/base.c    2012-03-21 12:25:28.051092423 +0100
3 @@ -568,6 +568,8 @@
4                                  struct task_struct *task,
5                                  int hide_pid_min)
6  {
7 +       if (vx_check(0, VS_WATCH_P))
8 +               return true;
9         if (pid->hide_pid < hide_pid_min)
10                 return true;
11         if (in_group_p(pid->pid_gid))
12 --- linux-4.9.76/include/linux/vs_time.h        1970-01-01 00:00:00.000000000 +0000
13 +++ linux-4.9.76-vs2.3.9.5/include/linux/vs_time.h      2018-01-10 09:27:12.000000000 +0000
14 @@ -7,7 +7,7 @@
15  
16  extern void vx_adjust_timespec(struct timespec *ts);
17  extern int vx_settimeofday(const struct timespec *ts);
18 -extern int vx_settimeofday64(const struct timespec *ts);
19 +extern int vx_settimeofday64(const struct timespec64 *ts);
20  
21  #else
22  #define        vx_adjust_timespec(t)   do { } while (0)
This page took 0.029453 seconds and 3 git commands to generate.