Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SYS_kill (0.12 sec)

  1. src/runtime/sys_linux_ppc64x.s

    #include "asm_ppc64x.h"
    #include "cgo/abi_ppc64x.h"
    
    #define SYS_exit		  1
    #define SYS_read		  3
    #define SYS_write		  4
    #define SYS_open		  5
    #define SYS_close		  6
    #define SYS_getpid		 20
    #define SYS_kill		 37
    #define SYS_brk			 45
    #define SYS_mmap		 90
    #define SYS_munmap		 91
    #define SYS_setitimer		104
    #define SYS_clone		120
    #define SYS_sched_yield		158
    #define SYS_nanosleep		162
    #define SYS_rt_sigreturn	172
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. src/syscall/exec_linux.go

    		// using SIGKILL.
    		pid, _ = rawSyscallNoError(SYS_GETPPID, 0, 0, 0)
    		if pid != ppid {
    			pid, _ = rawSyscallNoError(SYS_GETPID, 0, 0, 0)
    			_, _, err1 = RawSyscall(SYS_KILL, pid, uintptr(sys.Pdeathsig), 0)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    	}
    
    	// Pass 1: look for fd[i] < i and move those up above len(fd)
    	// so that pass 2 won't stomp on an fd it needs later.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top