1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-14 14:01:48 +03:00
Files
gnulib/modules/pt_chown
Paul Eggert 652baf7deb root-uid: new module
This is for portability to Tandem's NonStop Kernel.
* lib/root-uid.h, modules/root-uid: New files.
* lib/euidaccess.c, lib/pt_chown.c, lib/unlinkdir.c:
* lib/write-any-file.c, tests/test-sethostname2.c:
Include "root-uid.h".
* lib/euidaccess.c (euidaccess):
* lib/pt_chown.c (main):
* lib/unlinkdir.c (cannot_unlink_dir):
* lib/write-any-file.c (can_write_any_file):
* m4/mknod.m4 (gl_FUNC_MKNOD):
* tests/test-sethostname2.c (geteuid, main):
Don't assume ROOT_UID == 0.
* modules/euidaccess (Depends-on):
* modules/pt_chown (Depends-on):
* modules/sethostname-tests (Depends-on):
* modules/unlinkdir (Depends-on):
* modules/write-any-file (Depends-on):
Add root-uid.
2012-06-26 16:46:51 -07:00

28 lines
390 B
Plaintext

Description:
Helper program for setting the owner of the slave side of a pseudo-terminal.
Files:
lib/pt_chown.c
lib/pty-private.h
Depends-on:
ptsname
root-uid
stdlib
configmake
configure.ac:
Makefile.am:
# TODO: Add rules for installing as setuid root (chown root, chmod a=rx,u+s).
pkglibexec_PROGRAMS = pt_chown
pt_chown_LDADD = libgnu.a
Include:
License:
LGPLv2+
Maintainer:
glibc