Date: Sun, 15 Sep 2002 11:30:15 +0200 From: Stefan `Sec` Zehl <sec@42.org> To: Pawel Jakub Dawidek <nick@garage.freebsd.pl> Cc: freebsd-hackers@freebsd.org Subject: Re: Changing process informations. Message-ID: <20020915093015.GA9912@matrix.42.org> In-Reply-To: <20020915030157.GP68652@garage.freebsd.pl> References: <20020915030157.GP68652@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
--2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Sep 15, 2002 at 05:01:57AM +0200, Pawel Jakub Dawidek wrote: > Hello hackers... > > When I want change process real or effective uid in kld module > I got functions change_ruid() and change_euid(). > I need change many others informations about process. > Correct me if I'm wrong: [...] I'm not sure if that works as you expected. Have you taken care of credential sharing? I have once written a program to change the uid/euid of a running process (see ftp://ftp.42.org/pub/B/presto/presto-1.3.tar.gz), but due to credential sharing, this will sometimes effect more than one process of the same user (usually a vi started from a shell will inherit the same credentials for example) CU, Sec -- If architects built buildings like programmers build programs, the first woodpecker to come along would destroy civilization. --2oS5YaxWCcQjTEyO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3i iQEVAwUBPYRTH55z6wpNWO5RAQE8Qgf+PLPkj49gEWHa9cYoscXqV5tY4wyKMeFj yDDhHndrh+Yj/HjHawjp/Xz2Nfbi993bWtmxkSOXQ0fee+faaRJQ7fvvDC5bj60z lo5ToigW/b+LnR+6rg72I2+3QRcbZ4bxEzeXEzTwyDrnWGiSj6PBdy5BQr6N0Q4b q12leqvn4YuQvQSEBeguUCycv+yGl1wkfU4c4E9WnAMqnSHYAcb+EZ6chZ+Nimgn wHNKDqkt3ZBMrNDmusggMM2z7SxoIsviSnbPGi9tnIefccNe6JeVruqo2PsUT3WT Jk2YWktbdshEPfZm150BwZrjNp98QWILDT5u4waYjE6/eOcbaSud1w== =0XVP -----END PGP SIGNATURE----- --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020915093015.GA9912>