Menu

#16 pty, effective user/group, pivot_root, vfork

open
nobody
None
5
2008-03-21
2008-03-21
No

This patch extends Tclx with the following commands:

id euser
id euserid
id egroup
id egroupid
Interface to seteuid/setegid
TESTED

id session
Interface to setsid
PARTIALLY TESTED

pty open ?-rdwr? ?-noctty?
pty grant channel
pty unlock channel
pty name channel
pty winsize ?cols rows?
Interface to grantpt, posix_openpt, ptsname, unlockpt & winsize get/set
Now Tcl can be used to write Terminal emulators and proper remote logging servers.
TESTED

rlimit resource ?softlimit hardlimit?
Interface to getrlimit/setrlimit
PARTIALLY TESTED

pivot_root newpath oldpath
Interface to pivot_root
NOT TESTED

vfork
Interface to vfork
NOT TESTED

Discussion

  • Alexandros Stergiakis

    Patch according to Tclx coding style and conventions

     
  • Alexandros Stergiakis

    Logged In: YES
    user_id=718576
    Originator: YES

    TclX.n NOT updated.

     
  • Alexandros Stergiakis

    Logged In: YES
    user_id=718576
    Originator: YES

    Sorry rlimit is not in this patch.

     
  • Alexandros Stergiakis

    • summary: pty, effective user/group, pivot_root, resource limits,vfork --> pty, effective user/group, pivot_root, vfork
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.