Commit 9338493e by Christian Brauner Committed by GitHub

Merge pull request #1409 from tych0/setproctitle-comments

util: update setproctitle comments
parents 0b5cbe35 7d6c20f2
......@@ -1405,11 +1405,8 @@ char *get_template_path(const char *t)
}
/*
* Sets the process title to the specified title. Note:
* 1. this function requires root to succeed
* 2. it clears /proc/self/environ
* 3. it may not succed (e.g. if title is longer than /proc/self/environ +
* the original title)
* Sets the process title to the specified title. Note that this may fail if
* the kernel doesn't support PR_SET_MM_MAP (kernels <3.18).
*/
int setproctitle(char *title)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment