[announce] utmps-0.0.1.0

2018-06-07 Thread Laurent Bercot
Hello, It's been there for some time but there's now a release number. utmps-0.0.1.0 is out. It's a secure implementation of the POSIX utmpx.h functions, using daemons to access the utmp and wtmp database instead of imposing suid or sgid on applications. It still needs a lot of testing.

Re: execline-in-execline

2018-06-07 Thread Profpatsch
Laurent Bercot writes: > Remember that once an execlineb script has been parsed, it's just a > command line, no more, no less. So your example script can just be > written as: > > #!execline > define url example.com > s6-tcpclient $url 80 > foreground { fdmove 1 7 echo -en "..." } > fdmove 0 6

Re: execline-in-execline

2018-06-07 Thread Guillaume Perréal
As a matter of example : this scripts "rewrites" its final command depending on optional arguments. Its purpose is to restore select parts of the environment variables, uid/gid and working directory, that were saved in a directory at some point in the past. https://github.com/Adirelle/s6rc-ove