You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 11" for security reasons I want to launch an unkillable process." Just a note - if this was allowed, people could easily be exploiting it for nefarious reasons - e.g., launch an unstoppable fork bomb.VLAZ– VLAZ2015-09-04 19:22:36 +00:00Commented Sep 4, 2015 at 19:22
- 34This sounds like an XY problem. I suspect that whatever you are really trying to achieve, an unkillable process is not the way to do it. "For security reasons" is very vague. What exactly do you want to prevent the user from doing? What access do they have?Nate Eldredge– Nate Eldredge2015-09-04 19:30:48 +00:00Commented Sep 4, 2015 at 19:30
- 5Any process which is unkillable for all intents and purposes is a virus.Naftuli Kay– Naftuli Kay2015-09-04 22:06:37 +00:00Commented Sep 4, 2015 at 22:06
- 3@NateEldredge: Rather, have the program ignore the signals. That's the typical way to do it; otherwise, someone could send a SIGINT or SIGTSTP directly to the process, bypassing the terminal.Noah Spurrier– Noah Spurrier2015-09-04 23:26:00 +00:00Commented Sep 4, 2015 at 23:26
- 2@NoahSpurrier: I am imagining a situation where you have a user who can type things on the console, but who can't otherwise execute code on the computer (like a kiosk). You set it up so that no key that they can type will have an unexpected effect. If they can execute other code, then ignoring SIGINT and SIGTSTP and SIGQUIT doesn't help; anyone who could send those signals directly to the process could also send SIGKILL or SIGSTOP which you can't ignore.Nate Eldredge– Nate Eldredge2015-09-05 17:10:21 +00:00Commented Sep 5, 2015 at 17:10
| Show 3 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. shell-script), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you