Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
9338493e
Commit
9338493e
authored
Feb 02, 2017
by
Christian Brauner
Committed by
GitHub
Feb 02, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1409 from tych0/setproctitle-comments
util: update setproctitle comments
parents
0b5cbe35
7d6c20f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
utils.c
src/lxc/utils.c
+2
-5
No files found.
src/lxc/utils.c
View file @
9338493e
...
@@ -1405,11 +1405,8 @@ char *get_template_path(const char *t)
...
@@ -1405,11 +1405,8 @@ char *get_template_path(const char *t)
}
}
/*
/*
* Sets the process title to the specified title. Note:
* Sets the process title to the specified title. Note that this may fail if
* 1. this function requires root to succeed
* the kernel doesn't support PR_SET_MM_MAP (kernels <3.18).
* 2. it clears /proc/self/environ
* 3. it may not succed (e.g. if title is longer than /proc/self/environ +
* the original title)
*/
*/
int
setproctitle
(
char
*
title
)
int
setproctitle
(
char
*
title
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment