[Bug 261] New: AIX capabilities + port-aix.c cleanup

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri May 31 20:00:36 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=261

           Summary: AIX capabilities + port-aix.c cleanup
           Product: Portable OpenSSH
           Version: -current
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sshd
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: janfrode at parallab.uib.no


OpenSSH isn't setting the AIX capabilities correctly, so I had a look into
fixing this. It looks to me like port-aix.c could be simplified by removing all
setrlimit() calls and instead use the AIX functions setpcred()/setpenv() to set
up the user environment. They are documented in

   http://tre.ii.uib.no/doc_link/en_US/a_doc_lib/libs/basetrf2/setpcred.htm
   http://tre.ii.uib.no/doc_link/en_US/a_doc_lib/libs/basetrf2/setpenv.htm

Please consider applying the following patches so that we can use OpenSSH to run
jobs on large page enabled AIX systems. The patches have been tested on AIX
5.1D, but according to my IBM contacts also AIX 4 uses these functions for
setting up the login environment.

   http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=102266568505721&q=p4
   http://marc.theaimsgroup.com/?l=openssh-unix-dev&m=102266568505721&q=p3


   -jf



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list