@@ -1,10 +1,9 @@
--- oneprocess.c.orig 2014-08-27 17:23:16.745533649 +0200
-+++ oneprocess.c 2014-08-27 17:26:13.569600383 +0200
-@@ -108,6 +108,21 @@
++++ oneprocess.c 2014-08-27 17:35:44.639397879 +0200
+@@ -108,6 +108,19 @@
seccomp_sandbox_init();
seccomp_sandbox_setup_postlogin(p_sess);
seccomp_sandbox_lockdown();
-+
+ pid_t pid;
+ FILE *pidf;
+ pid = getpid();
@@ -18,17 +17,15 @@
+ fclose(pidf);
+ }
+ }
-+
init_connection(p_sess);
}
--- twoprocess.c.orig 2014-08-27 17:23:25.037527532 +0200
-+++ twoprocess.c 2014-08-27 17:26:35.281614929 +0200
-@@ -139,6 +139,21 @@
++++ twoprocess.c 2014-08-27 17:36:13.910612688 +0200
+@@ -139,6 +139,19 @@
seccomp_sandbox_init();
seccomp_sandbox_setup_prelogin(p_sess);
seccomp_sandbox_lockdown();
-+
+ pid_t pid;
+ FILE *pidf;
+ pid = getpid();
@@ -42,7 +39,6 @@
+ fclose(pidf);
+ }
+ }
-+
init_connection(p_sess);
/* NOTREACHED */
}
|