Enerccio / ewlc

Wayland compositor library - extended
MIT License
20 stars 3 forks source link

Consider using prctl with PR_SET_NAME to set the process name #50

Open WLCIssuesBot opened 7 years ago

WLCIssuesBot commented 7 years ago

Issue by Stebalien Monday Feb 22, 2016 at 01:37 GMT Originally opened as https://github.com/Cloudef/wlc/issues/125


Consider using prctl with PR_SET_NAME to set the process name. This way, users don't have to pass in a pointer to the argument array (which isn't even available in languages like Rust).

WLCIssuesBot commented 7 years ago

Comment by Cloudef Thursday Mar 24, 2016 at 17:38 GMT


So, I tried to use this. But seems to not work. Might be another syscall that is blocked for SUID processes. Dip in kernel source could confirm.