|
@@ -922,6 +922,16 @@ func Settimeofday(tv *Timeval) (err error) {
|
|
|
|
|
|
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
|
|
|
|
|
+func Setns(fd int, nstype int) (err error) {
|
|
|
|
|
+ _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0)
|
|
|
|
|
+ if e1 != 0 {
|
|
|
|
|
+ err = errnoErr(e1)
|
|
|
|
|
+ }
|
|
|
|
|
+ return
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
|
|
|
|
+
|
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
func Setpriority(which int, who int, prio int) (err error) {
|
|
|
_, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
_, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio))
|
|
|
if e1 != 0 {
|
|
if e1 != 0 {
|