Lines Matching refs:arg2

2414 static inline int prctl_get_mdwe(unsigned long arg2, unsigned long arg3,  in prctl_get_mdwe()  argument
2417 if (arg2 || arg3 || arg4 || arg5) in prctl_get_mdwe()
2432 SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
2439 error = security_task_prctl(option, arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2446 if (!valid_signal(arg2)) { in SYSCALL_DEFINE5()
2450 me->pdeath_signal = arg2; in SYSCALL_DEFINE5()
2453 error = put_user(me->pdeath_signal, (int __user *)arg2); in SYSCALL_DEFINE5()
2459 if (arg2 != SUID_DUMP_DISABLE && arg2 != SUID_DUMP_USER) { in SYSCALL_DEFINE5()
2463 set_dumpable(me->mm, arg2); in SYSCALL_DEFINE5()
2467 error = SET_UNALIGN_CTL(me, arg2); in SYSCALL_DEFINE5()
2470 error = GET_UNALIGN_CTL(me, arg2); in SYSCALL_DEFINE5()
2473 error = SET_FPEMU_CTL(me, arg2); in SYSCALL_DEFINE5()
2476 error = GET_FPEMU_CTL(me, arg2); in SYSCALL_DEFINE5()
2479 error = SET_FPEXC_CTL(me, arg2); in SYSCALL_DEFINE5()
2482 error = GET_FPEXC_CTL(me, arg2); in SYSCALL_DEFINE5()
2488 if (arg2 != PR_TIMING_STATISTICAL) in SYSCALL_DEFINE5()
2493 if (strncpy_from_user(comm, (char __user *)arg2, in SYSCALL_DEFINE5()
2501 if (copy_to_user((char __user *)arg2, comm, sizeof(comm))) in SYSCALL_DEFINE5()
2505 error = GET_ENDIAN(me, arg2); in SYSCALL_DEFINE5()
2508 error = SET_ENDIAN(me, arg2); in SYSCALL_DEFINE5()
2514 error = prctl_set_seccomp(arg2, (char __user *)arg3); in SYSCALL_DEFINE5()
2517 error = GET_TSC_CTL(arg2); in SYSCALL_DEFINE5()
2520 error = SET_TSC_CTL(arg2); in SYSCALL_DEFINE5()
2535 if (arg2 <= 0) in SYSCALL_DEFINE5()
2539 current->timer_slack_ns = arg2; in SYSCALL_DEFINE5()
2544 switch (arg2) { in SYSCALL_DEFINE5()
2567 if (arg2 | arg3 | arg4 | arg5) in SYSCALL_DEFINE5()
2576 error = prctl_set_mm(arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2579 error = prctl_get_tid_address(me, (int __user * __user *)arg2); in SYSCALL_DEFINE5()
2582 me->signal->is_child_subreaper = !!arg2; in SYSCALL_DEFINE5()
2583 if (!arg2) in SYSCALL_DEFINE5()
2590 (int __user *)arg2); in SYSCALL_DEFINE5()
2593 if (arg2 != 1 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2599 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2603 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2612 if (arg2) in SYSCALL_DEFINE5()
2623 error = SET_FP_MODE(me, arg2); in SYSCALL_DEFINE5()
2629 error = SVE_SET_VL(arg2); in SYSCALL_DEFINE5()
2635 error = SME_SET_VL(arg2); in SYSCALL_DEFINE5()
2643 error = arch_prctl_spec_ctrl_get(me, arg2); in SYSCALL_DEFINE5()
2648 error = arch_prctl_spec_ctrl_set(me, arg2, arg3); in SYSCALL_DEFINE5()
2653 error = PAC_RESET_KEYS(me, arg2); in SYSCALL_DEFINE5()
2658 error = PAC_SET_ENABLED_KEYS(me, arg2, arg3); in SYSCALL_DEFINE5()
2661 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2668 error = SET_TAGGED_ADDR_CTRL(arg2); in SYSCALL_DEFINE5()
2671 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2682 if (arg2 == 1) in SYSCALL_DEFINE5()
2684 else if (!arg2) in SYSCALL_DEFINE5()
2693 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2699 error = set_syscall_user_dispatch(arg2, arg3, arg4, in SYSCALL_DEFINE5()
2704 error = sched_core_share_pid(arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2708 error = prctl_set_mdwe(arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2711 error = prctl_get_mdwe(arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2714 error = prctl_set_vma(arg2, arg3, arg4, arg5); in SYSCALL_DEFINE5()
2719 error = prctl_get_auxv((void __user *)arg2, arg3); in SYSCALL_DEFINE5()
2728 if (arg2) in SYSCALL_DEFINE5()
2735 if (arg2 || arg3 || arg4 || arg5) in SYSCALL_DEFINE5()
2742 error = RISCV_V_SET_CONTROL(arg2); in SYSCALL_DEFINE5()