Searched refs:kill (Results 76 - 100 of 150) sorted by relevance

123456

/linux-master/tools/testing/selftests/sched/
H A Dcs_prctl_test.c98 kill(procs[pidx].cpid, 15);
356 kill(procs[pidx].cpid, 15);
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c104 #define SECCOMP_RET_KILL_PROCESS 0x80000000U /* kill the process */
105 #define SECCOMP_RET_KILL_THREAD 0x00000000U /* kill the thread */
800 /* Prepare a thread that will kill itself or both of us. */
818 int kill = kill_how == KILL_PROCESS ? SECCOMP_RET_KILL_PROCESS : 0xAAAAAAAA; local
823 BPF_STMT(BPF_RET|BPF_K, kill),
1163 struct sock_fprog kill; local
1218 FILTER_ALLOC(kill);
1229 FILTER_FREE(kill);
1251 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->kill);
1277 ret = prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &self->kill);
[all...]
/linux-master/fs/nfs/
H A Dinternal.h627 int kill = 0; local
631 kill = ATTR_KILL_SUID;
635 * it alone. If some exec bits are set, it's a real sgid; kill it.
638 kill |= ATTR_KILL_SGID;
640 if (unlikely(kill && S_ISREG(mode)))
641 return kill;
/linux-master/security/apparmor/
H A Dfile.c130 if (ad.request & perms->kill)
133 /* quiet known rejects, assumes quiet and kill do not overlap */
372 lperms.kill = perms.kill;
H A Ddomain.c290 perms->audit = perms->quiet = perms->kill = 0;
1241 /* kill task in case of brute force attacks */
1242 goto kill;
1263 goto kill;
1276 kill:
1278 perms.kill = AA_MAY_CHANGEHAT;
/linux-master/arch/alpha/lib/
H A Dstxcpy.S225 zapnot t1, t6, t1 # .. e1 : kill source bytes >= null
226 zap t0, t8, t0 # e0 : kill dest bytes <= null
H A Dev6-stxcpy.S251 zapnot t1, t6, t1 # U : kill source bytes >= null (stall)
253 zap t0, t8, t0 # U : kill dest bytes <= null (2 cycle data stall)
H A Dstxncpy.S261 zapnot t0, t8, t0 # .. e1 : kill source bytes > null
262 zap t1, t8, t1 # e0 : kill dest bytes <= null
H A Dev6-stxncpy.S304 zapnot t0, t8, t0 # U : kill source bytes > null
306 zap t1, t8, t1 # U : kill dest bytes <= null
/linux-master/tools/testing/selftests/x86/
H A Dptrace_syscall.c160 args.nr = 37; /* kill */
345 kill(chld, SIGUSR1);
405 kill(chld, SIGKILL);
/linux-master/tools/testing/selftests/arm64/fp/
H A Dfp-stress.c224 kill(child->pid, SIGUSR2);
230 kill(child->pid, SIGTERM);
H A Dza-ptrace.c334 kill(child, SIGKILL);
H A Dzt-ptrace.c325 kill(child, SIGKILL);
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c250 kill(os_getpid(), SIGSTOP);
356 * just kill the process.
686 kill_userspace_mm[0] = mm_idp->kill;
/linux-master/fs/
H A Dinode.c2024 struct dentry *dentry, int kill)
2028 newattrs.ia_valid = ATTR_FORCE | kill;
2041 int kill; local
2046 kill = dentry_needs_remove_privs(file_mnt_idmap(file), dentry);
2047 if (kill < 0)
2048 return kill;
2050 if (kill) {
2054 error = __remove_privs(file_mnt_idmap(file), dentry, kill);
2023 __remove_privs(struct mnt_idmap *idmap, struct dentry *dentry, int kill) argument
/linux-master/arch/m68k/fpsp040/
H A Dbugfix.S254 | exceptional, we choose to kill the process.
342 | fpsp_fmt_error and allow the kernel to kill the process.
376 | exceptional, we choose to kill the process.
482 | to the entry point used to kill a process.
/linux-master/samples/bpf/
H A Dtrace_event_user.c96 kill(pid, SIGKILL);
/linux-master/arch/um/os-Linux/
H A Dsignal.c253 kill(os_getpid(), SIGIO);
H A Dumid.c177 if ((kill(p, 0) == 0) || (errno != ESRCH)) {
/linux-master/tools/testing/selftests/arm64/abi/
H A Dptrace.c244 kill(child, SIGKILL);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c54 struct nouveau_channel *chan = container_of(event, typeof(*chan), kill);
105 nvif_event_dtor(&chan->kill);
386 &args.base, sizeof(args), &chan->kill);
388 ret = nvif_event_allow(&chan->kill);
390 NV_ERROR(drm, "Failed to request channel kill "
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_rcfw.h263 void bnxt_qplib_rcfw_stop_irq(struct bnxt_qplib_rcfw *rcfw, bool kill);
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c253 ASSERT_EQ(kill(self->pid, SIGKILL), 0);
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrl_val.c471 /* Only kill child after bm_pid is set after fork() */
473 kill(bm_pid, SIGKILL);
482 * Register CTRL-C handler for parent, as it has to kill
718 * kill parent, so save parent's pid
854 kill(bm_pid, SIGKILL);
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dcontext_switch.c154 kill(0, SIGUSR1);

Completed in 195 milliseconds

123456