Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238825 Details for
Bug 296267
net-dialup/ppp version update to 2.4.5 request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/patch/kill-pg.patch
kill-pg.patch (text/plain), 890 bytes, created by
Marshall McMullen
on 2010-07-15 04:51:02 UTC
(
hide
)
Description:
files/patch/kill-pg.patch
Filename:
MIME Type:
Creator:
Marshall McMullen
Created:
2010-07-15 04:51:02 UTC
Size:
890 bytes
patch
obsolete
>diff -Nru ppp-2.4.4.orig/pppd/main.c ppp-2.4.4/pppd/main.c >--- ppp-2.4.4.orig/pppd/main.c 2008-04-12 09:51:21.000000000 +0300 >+++ ppp-2.4.4/pppd/main.c 2008-04-12 10:11:19.000000000 +0300 >@@ -147,7 +147,7 @@ > int hungup; /* terminal has been hung up */ > int privileged; /* we're running as real uid root */ > int need_holdoff; /* need holdoff period before restarting */ >-int detached; /* have detached from terminal */ >+int detached = 0; /* have detached from terminal */ > volatile int status; /* exit status for pppd */ > int unsuccess; /* # unsuccessful connection attempts */ > int do_callback; /* != 0 if we should do callback next */ >@@ -460,6 +460,8 @@ > */ > if (!nodetach && !updetach) > detach(); >+ else >+ setsid(); /* set the process group, see http://bugs.gentoo.org/show_bug.cgi?id=181145 */ > p = getlogin(); > if (p == NULL) { > pw = getpwuid(uid);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 296267
:
238813
|
238815
|
238817
|
238819
|
238821
|
238823
| 238825 |
238827
|
238829
|
238831
|
238833