how do I make lsof be useful again in fc3?
Féliciano Matias
feliciano.matias at free.fr
Fri Dec 10 11:36:04 UTC 2004
Le vendredi 10 décembre 2004 à 02:49 -0800, Jamie Zawinski a écrit :
> Filiciano Matias wrote:
> >
> > What does this command :
> > $ cat /proc/`/sbin/pidof ssh-agent`/status | egrep "^Gid"
> > Gid: 100 100 99 100
> > ^ 99 : nobody
> >
> > Have you kill the previous ssh-agent process ?
>
> Yes, defintely.
>
> Gid: 500 500 500 500
>
> 500 = user jwz and group jwz.
>
"chmod g-s /usr/bin/ssh-agent" and add this patch :
diff -urN openssh-3.9p1.orig/ssh-agent.c openssh-3.9p1/ssh-agent.c
--- openssh-3.9p1.orig/ssh-agent.c 2004-08-13 13:18:01.000000000 +0200
+++ openssh-3.9p1/ssh-agent.c 2004-12-10 12:10:36.267810158 +0100
@@ -1022,11 +1022,6 @@
setegid(getgid());
setgid(getgid());
-#if defined(HAVE_PRCTL) && defined(PR_SET_DUMPABLE)
- /* Disable ptrace on Linux without sgid bit */
- prctl(PR_SET_DUMPABLE, 0);
-#endif
-
SSLeay_add_all_algorithms();
__progname = ssh_get_progname(av[0]);
Perhaps it's not a good idea.
from linux/prctl.h :
/* Get/set current->mm->dumpable */
#define PR_GET_DUMPABLE 3
#define PR_SET_DUMPABLE 4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20041210/5ff4ef51/attachment-0002.bin
More information about the devel
mailing list