syscall.c (8b5669e40f05ff1a1cb865ccc1bdb079b7bfc92c) | syscall.c (fd72f5d0bae2bcdb695cb8da57b41c49c001f91f) |
---|---|
1/* 2 * Linux syscalls 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 6348 unchanged lines hidden (view full) --- 6357} 6358 6359#ifndef do_prctl_get_fp_mode 6360#define do_prctl_get_fp_mode do_prctl_inval0 6361#endif 6362#ifndef do_prctl_set_fp_mode 6363#define do_prctl_set_fp_mode do_prctl_inval1 6364#endif | 1/* 2 * Linux syscalls 3 * 4 * Copyright (c) 2003 Fabrice Bellard 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 6348 unchanged lines hidden (view full) --- 6357} 6358 6359#ifndef do_prctl_get_fp_mode 6360#define do_prctl_get_fp_mode do_prctl_inval0 6361#endif 6362#ifndef do_prctl_set_fp_mode 6363#define do_prctl_set_fp_mode do_prctl_inval1 6364#endif |
6365#ifndef do_prctl_get_vl 6366#define do_prctl_get_vl do_prctl_inval0 | 6365#ifndef do_prctl_sve_get_vl 6366#define do_prctl_sve_get_vl do_prctl_inval0 |
6367#endif | 6367#endif |
6368#ifndef do_prctl_set_vl 6369#define do_prctl_set_vl do_prctl_inval1 | 6368#ifndef do_prctl_sve_set_vl 6369#define do_prctl_sve_set_vl do_prctl_inval1 |
6370#endif 6371#ifndef do_prctl_reset_keys 6372#define do_prctl_reset_keys do_prctl_inval1 6373#endif 6374#ifndef do_prctl_set_tagged_addr_ctrl 6375#define do_prctl_set_tagged_addr_ctrl do_prctl_inval1 6376#endif 6377#ifndef do_prctl_get_tagged_addr_ctrl --- 48 unchanged lines hidden (view full) --- 6426 unlock_user(name, arg2, 0); 6427 return ret; 6428 } 6429 case PR_GET_FP_MODE: 6430 return do_prctl_get_fp_mode(env); 6431 case PR_SET_FP_MODE: 6432 return do_prctl_set_fp_mode(env, arg2); 6433 case PR_SVE_GET_VL: | 6370#endif 6371#ifndef do_prctl_reset_keys 6372#define do_prctl_reset_keys do_prctl_inval1 6373#endif 6374#ifndef do_prctl_set_tagged_addr_ctrl 6375#define do_prctl_set_tagged_addr_ctrl do_prctl_inval1 6376#endif 6377#ifndef do_prctl_get_tagged_addr_ctrl --- 48 unchanged lines hidden (view full) --- 6426 unlock_user(name, arg2, 0); 6427 return ret; 6428 } 6429 case PR_GET_FP_MODE: 6430 return do_prctl_get_fp_mode(env); 6431 case PR_SET_FP_MODE: 6432 return do_prctl_set_fp_mode(env, arg2); 6433 case PR_SVE_GET_VL: |
6434 return do_prctl_get_vl(env); | 6434 return do_prctl_sve_get_vl(env); |
6435 case PR_SVE_SET_VL: | 6435 case PR_SVE_SET_VL: |
6436 return do_prctl_set_vl(env, arg2); | 6436 return do_prctl_sve_set_vl(env, arg2); |
6437 case PR_PAC_RESET_KEYS: 6438 if (arg3 || arg4 || arg5) { 6439 return -TARGET_EINVAL; 6440 } 6441 return do_prctl_reset_keys(env, arg2); 6442 case PR_SET_TAGGED_ADDR_CTRL: 6443 if (arg3 || arg4 || arg5) { 6444 return -TARGET_EINVAL; --- 6748 unchanged lines hidden --- | 6437 case PR_PAC_RESET_KEYS: 6438 if (arg3 || arg4 || arg5) { 6439 return -TARGET_EINVAL; 6440 } 6441 return do_prctl_reset_keys(env, arg2); 6442 case PR_SET_TAGGED_ADDR_CTRL: 6443 if (arg3 || arg4 || arg5) { 6444 return -TARGET_EINVAL; --- 6748 unchanged lines hidden --- |