Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Restorer v2
(edit)
Revision as of 10:38, 12 September 2016
4 bytes removed
,
10:38, 12 September 2016
m
→Examples
Line 28:
Line 28:
<pre>
<pre>
−
{111
\nil
}
+
{111}
</pre>
</pre>
Line 36:
Line 36:
FORK: {T(..)(.*)} -> {T\1N\2}|{N\1} // T forks N
FORK: {T(..)(.*)} -> {T\1N\2}|{N\1} // T forks N
EXIT: {I(..)(.*)}(.*){X(..)(.*)} -> {I\1\2\5}\3 // X exits and all its kids are reparented to I (init)
EXIT: {I(..)(.*)}(.*){X(..)(.*)} -> {I\1\2\5}\3 // X exits and all its kids are reparented to I (init)
−
SETSID: {S(.)(.*)}
-> {
SS
\
1
}
// S becomes a new session leader
+
SETSID: {S
(.)
(.)(.*)}
-> {
S\1S
\
3
}
// S becomes a new session leader
−
SETPGID(0): {P(.)(.)(.*)} -> {
P
\
1P
\3} // P becomes a new group leader
+
SETPGID(0): {P(.)(.)(.*)} -> {
PP
\
2
\3} // P becomes a new group leader
−
SETPGID(G): {
G
(.)
G
(.*)}(.*){P(.)(.)(.*)} -> {
G
\
1G
\2}\3{
P
\
4G
\6} // P joins session of alive G
+
SETPGID(G): {
GG
(.)(.*)}(.*){P(.)(.)(.*)} -> {
GG
\
1
\2}\3{
PG
\
4
\6} // P joins session of alive G
</pre>
</pre>
[[Category: Plans]]
[[Category: Plans]]
[[Category: Thinkers]]
[[Category: Thinkers]]
Xemul
Bureaucrats
,
Administrators
2,257
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Request account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help
Tools
Special pages
Printable version
News
Twitter
YouTube
External resources
Github / source code
Issues / bugs
Mr. Jenkins
Open Hub
OpenVZ