lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 10 Nov 2009 10:20:13 +0100
From:	Enrico Weigelt <>
To:	linux kernel list <>
Subject: Changing another process' UID

Hi folks,

for properly porting Plan9's factotum to Linux, I need some way
to change an running process's uid/gid.

Plan9 has special devices /dev/caphash and /dev/capuse for that.

Some time ago I chose to hack up a different, a bit more generic 
way: adding special new uid / gid files to the /proc entries,
so another (root) process can change the uid of an already
running process.

I suppose there's a better way via Linux's caps api, isnt it ?

 Enrico Weigelt    ==   metux IT service -
 Please visit the OpenSource QM Taskforce:
 Patches / Fixes for a lot dozens of packages in dozens of versions:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists