OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Andrew Brown (atatatatatdot.net)
Date: Fri Apr 06 2001 - 01:35:25 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    >If LD_CHROOT is set and the process isn't setuid or setgid, then

    so...

            if (getenv("LD_CHROOT") &&
                !getuid() && !geteuid() && getgid == getegid()) {
                    ...do chroot stuff...
            }

    yesh? does it really matter if a program is suid (or sgid) to
    something we already had access to?

    -- 
    |-----< "CODE WARRIOR" >-----|
    codewarriordaemon.org             * "ah!  i see you have the internet
    twofsonetgraffiti.com (Andrew Brown)                that goes *ping*!"
    andrewcrossbar.com       * "information is power -- share the wealth."