File tree Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Expand file tree Collapse file tree 1 file changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -102,24 +102,20 @@ SYS_FUNC(clone)
102
102
103
103
SYS_FUNC (setns )
104
104
{
105
- if (entering (tcp )) {
106
- printfd (tcp , tcp -> u_arg [0 ]);
107
- tprints (", " );
108
- printflags (clone_flags , tcp -> u_arg [1 ], "CLONE_???" );
109
- }
110
- return 0 ;
105
+ printfd (tcp , tcp -> u_arg [0 ]);
106
+ tprints (", " );
107
+ printflags (clone_flags , tcp -> u_arg [1 ], "CLONE_???" );
108
+
109
+ return RVAL_DECODED ;
111
110
}
112
111
113
112
SYS_FUNC (unshare )
114
113
{
115
- if (entering (tcp ))
116
- printflags (clone_flags , tcp -> u_arg [0 ], "CLONE_???" );
117
- return 0 ;
114
+ printflags (clone_flags , tcp -> u_arg [0 ], "CLONE_???" );
115
+ return RVAL_DECODED ;
118
116
}
119
117
120
118
SYS_FUNC (fork )
121
119
{
122
- if (exiting (tcp ))
123
- return RVAL_UDECIMAL ;
124
- return 0 ;
120
+ return RVAL_DECODED | RVAL_UDECIMAL ;
125
121
}
You can’t perform that action at this time.
0 commit comments