| /linux/Documentation/admin-guide/sysctl/ |
| H A D | user.rst | 2 Documentation for /proc/sys/user/ 12 /proc/sys/user. 16 per user per user namespace limits. 24 The creation of per user per user namespace objects are charged to 25 the user in the user namespace who created the object and 26 verified to be below the per user limit in that user namespace. 29 who created user namespaces the creation of the object happens 30 in (user namespaces can be nested) and verified to be below the per user 31 limits in the user namespaces of those users. 34 user namespace does not allow a user to escape their current limits. [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | signal.c | 111 * Save the user access state into ua_state and reset it to disable any 133 * Set the user access state for invoking the signal handler. 144 * Restore the user access state to the values saved in ua_state. 156 static void init_user_layout(struct rt_sigframe_user_layout *user) in init_user_layout() argument 159 sizeof(user->sigframe->uc.uc_mcontext.__reserved); in init_user_layout() 161 memset(user, 0, sizeof(*user)); in init_user_layout() 162 user->size = offsetof(struct rt_sigframe, uc.uc_mcontext.__reserved); in init_user_layout() 164 user->limit = user in init_user_layout() 171 sigframe_size(struct rt_sigframe_user_layout const * user) sigframe_size() argument 184 __sigframe_alloc(struct rt_sigframe_user_layout * user,unsigned long * offset,size_t size,bool extend) __sigframe_alloc() argument 227 sigframe_alloc(struct rt_sigframe_user_layout * user,unsigned long * offset,size_t size) sigframe_alloc() argument 234 sigframe_alloc_end(struct rt_sigframe_user_layout * user) sigframe_alloc_end() argument 252 apply_user_offset(struct rt_sigframe_user_layout const * user,unsigned long offset) apply_user_offset() argument 299 read_fpsimd_context(struct user_fpsimd_state * fpsimd,struct user_ctxs * user) read_fpsimd_context() argument 316 restore_fpsimd_context(struct user_ctxs * user) restore_fpsimd_context() argument 345 restore_fpmr_context(struct user_ctxs * user) restore_fpmr_context() argument 377 restore_poe_context(struct user_ctxs * user,struct user_access_state * ua_state) restore_poe_context() argument 430 restore_sve_fpsimd_context(struct user_ctxs * user) restore_sve_fpsimd_context() argument 525 restore_sve_fpsimd_context(struct user_ctxs * user) restore_sve_fpsimd_context() argument 550 restore_tpidr2_context(struct user_ctxs * user) restore_tpidr2_context() argument 595 restore_za_context(struct user_ctxs * user) restore_za_context() argument 669 restore_zt_context(struct user_ctxs * user) restore_zt_context() argument 736 restore_gcs_context(struct user_ctxs * user) restore_gcs_context() argument 785 parse_user_sigframe(struct user_ctxs * user,struct rt_sigframe __user * sf) parse_user_sigframe() argument 1019 struct user_ctxs user; restore_sigframe() local 1172 setup_sigframe_layout(struct rt_sigframe_user_layout * user,bool add_all) setup_sigframe_layout() argument 1271 setup_sigframe(struct rt_sigframe_user_layout * user,struct pt_regs * regs,sigset_t * set,const struct user_access_state * ua_state) setup_sigframe() argument 1404 get_sigframe(struct rt_sigframe_user_layout * user,struct ksignal * ksig,struct pt_regs * regs) get_sigframe() argument 1476 setup_return(struct pt_regs * regs,struct ksignal * ksig,struct rt_sigframe_user_layout * user,int usig) setup_return() argument 1540 struct rt_sigframe_user_layout user; setup_rt_frame() local 1706 struct rt_sigframe_user_layout user; minsigstksz_setup() local [all...] |
| /linux/kernel/trace/ |
| H A D | trace_events_user.c | 45 * probes to print out to the user. 47 * These do not reflect the mapped bytes between the user and kernel space. 204 typedef void (*user_event_func_t) (struct user_event *user, struct iov_iter *i, 212 static struct user_event_mm *user_event_mm_get_all(struct user_event *user); 214 static int destroy_user_event(struct user_event *user); 215 static bool user_fields_match(struct user_event *user, int argc, 234 static struct user_event *user_event_get(struct user_event *user) in user_event_get() argument 236 refcount_inc(&user->refcnt); in user_event_get() 238 return user; in user_event_get() 243 struct user_event *user = container_of( in delayed_destroy_user_event() local [all …]
|
| /linux/arch/arm/mach-omap2/ |
| H A D | omap_hwmod_2xxx_interconnect_data.c | 27 .user = OCP_USER_MPU | OCP_USER_SDMA, 34 .user = OCP_USER_MPU, 47 .user = OCP_USER_MPU | OCP_USER_SDMA, 54 .user = OCP_USER_MPU | OCP_USER_SDMA, 62 .user = OCP_USER_MPU | OCP_USER_SDMA, 70 .user = OCP_USER_MPU | OCP_USER_SDMA, 78 .user = OCP_USER_MPU | OCP_USER_SDMA, 86 .user = OCP_USER_MPU | OCP_USER_SDMA, 94 .user = OCP_USER_MPU | OCP_USER_SDMA, 102 .user = OCP_USER_MPU | OCP_USER_SDMA, [all …]
|
| /linux/drivers/virt/acrn/ |
| H A D | hypercall.h | 64 * hcall_create_vm() - Create a User VM 65 * @vminfo: Service VM GPA of info of User VM creation 75 * hcall_start_vm() - Start a User VM 76 * @vmid: User VM ID 86 * hcall_pause_vm() - Pause a User VM 87 * @vmid: User VM ID 97 * hcall_destroy_vm() - Destroy a User VM 98 * @vmid: User VM ID 108 * hcall_reset_vm() - Reset a User VM 109 * @vmid: User VM ID [all …]
|
| /linux/arch/powerpc/include/asm/ |
| H A D | reg_fsl_emb.h | 53 #define PMLCA_FCU 0x20000000 /* Freeze in User */ 84 #define PMRN_UPMC0 0x000 /* User Performance Monitor Counter 0 */ 85 #define PMRN_UPMC1 0x001 /* User Performance Monitor Counter 1 */ 86 #define PMRN_UPMC2 0x002 /* User Performance Monitor Counter 2 */ 87 #define PMRN_UPMC3 0x003 /* User Performance Monitor Counter 3 */ 88 #define PMRN_UPMC4 0x004 /* User Performance Monitor Counter 4 */ 89 #define PMRN_UPMC5 0x005 /* User Performance Monitor Counter 5 */ 90 #define PMRN_UPMLCA0 0x080 /* User PM Local Control A0 */ 91 #define PMRN_UPMLCA1 0x081 /* User PM Local Control A1 */ 92 #define PMRN_UPMLCA2 0x082 /* User PM Local Control A2 */ [all …]
|
| /linux/scripts/ |
| H A D | Makefile.userprogs | 7 user-csingle := $(foreach m, $(userprogs), $(if $($(m)-objs),,$(m))) 10 user-cmulti := $(foreach m, $(userprogs), $(if $($(m)-objs),$(m))) 13 user-cobjs := $(sort $(foreach m, $(userprogs), $($(m)-objs))) 15 user-csingle := $(addprefix $(obj)/, $(user-csingle)) 16 user-cmulti := $(addprefix $(obj)/, $(user-cmulti)) 17 user-cobjs := $(addprefix $(obj)/, $(user-cobjs)) 28 $(user-csingle): $(obj)/%: $(src)/%.c FORCE 35 $(user-cmulti): FORCE 37 $(call multi_depend, $(user-cmulti), , -objs) 42 $(user-cobjs): $(obj)/%.o: $(src)/%.c FORCE [all …]
|
| /linux/arch/m68k/ifpsp060/ |
| H A D | os.S | 57 | Each IO routine checks to see if the memory write/read is to/from user 60 | for user mode applications. 71 | working in user space 80 | a1 - user destination address 82 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 110 | a0 - user source address 113 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode 140 | Read a data byte from user memory. 143 | a0 - user source address 144 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode [all …]
|
| /linux/Documentation/arch/arm/ |
| H A D | sunxi.rst | 26 * User Manual 28 …http://dl.linux-sunxi.org/A10/A10%20User%20Manual%20-%20v1.20%20%282012-04-09%2c%20DECRYPTED%29.pdf 41 * User Manual 43 http://dl.linux-sunxi.org/A13/A13%20User%20Manual%20-%20v1.2%20%282013-01-08%29.pdf 57 * User Manual 59 http://dl.linux-sunxi.org/A20/A20%20User%20Manual%202013-03-22.pdf 67 * User Manual 69 http://dl.linux-sunxi.org/A23/A23%20User%20Manual%20V1.0%2020130830.pdf 78 * User Manual 80 …http://dl.linux-sunxi.org/A31/A3x_release_document/A31/IC/A31%20user%20manual%20V1.1%2020130630.pdf [all …]
|
| /linux/include/linux/ |
| H A D | ipmi.h | 27 * Opaque type for a IPMI message user. One of these is needed to 48 struct ipmi_user *user; member 57 * be NULL. If the user above is NULL, then this will be the 96 * this is NULL, it will be ignored for the user. Note that you 109 * the user handle will be invalid. The interface may or may 116 /* Create a new user of the IPMI layer on the given interface number. */ 120 struct ipmi_user **user); 123 * Destroy the given user of the IPMI layer. Note that after this 125 * callbacks for the user. Thus as long as you destroy all the users 130 void ipmi_destroy_user(struct ipmi_user *user); [all …]
|
| /linux/include/linux/fsl/ |
| H A D | ntmp.h | 290 int ntmp_maft_add_entry(struct ntmp_user *user, u32 entry_id, 292 int ntmp_maft_query_entry(struct ntmp_user *user, u32 entry_id, 294 int ntmp_maft_delete_entry(struct ntmp_user *user, u32 entry_id); 295 int ntmp_rsst_update_entry(struct ntmp_user *user, const u32 *table, 297 int ntmp_rsst_query_entry(struct ntmp_user *user, 299 int ntmp_ipft_add_entry(struct ntmp_user *user, 301 int ntmp_ipft_delete_entry(struct ntmp_user *user, u32 entry_id); 302 int ntmp_fdbt_add_entry(struct ntmp_user *user, u32 *entry_id, 305 int ntmp_fdbt_update_entry(struct ntmp_user *user, u32 entry_id, 307 int ntmp_fdbt_delete_entry(struct ntmp_user *user, u32 entry_id); [all …]
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | listns_permissions_test.c | 58 /* Create user namespace to be unprivileged */ in TEST() 132 * Test that users with CAP_SYS_ADMIN in a user namespace can see 133 * all namespaces owned by that user namespace. 143 .user_ns_id = 0, /* Will be set to our created user namespace */ in TEST() 166 /* Create user namespace - we'll have CAP_SYS_ADMIN in it */ in TEST() 172 /* Get the user namespace ID */ in TEST() 173 fd = open("/proc/self/ns/user", O_RDONLY); in TEST() 186 /* Create several namespaces owned by this user namespace */ in TEST() 191 /* List namespaces owned by our user namespace */ in TEST() 200 * We have CAP_SYS_ADMIN in this user namespace, in TEST() [all …]
|
| /linux/Documentation/misc-devices/ |
| H A D | uacce.rst | 3 Uacce (Unified/User-space-access-intended Accelerator Framework) 9 Uacce (Unified/User-space-access-intended Accelerator Framework) targets to 14 Because of the unified address, hardware and user space of process can 24 | User application (CPU) | | Hardware Accelerator | 48 The user drivers and libraries are called WarpDrive. 60 | | user API | | 61 | WarpDrive library | ------------> | user driver | 96 created when user application open the chrdev. The file descriptor is used 97 as the user handle of the queue. 99 a chrdev to the user space. The user application communicates with the [all …]
|
| /linux/drivers/fsi/ |
| H A D | fsi-sbefifo.c | 782 static void sbefifo_release_command(struct sbefifo_user *user) in sbefifo_release_command() argument 784 if (is_vmalloc_addr(user->pending_cmd)) in sbefifo_release_command() 785 vfree(user->pending_cmd); in sbefifo_release_command() 786 user->pending_cmd = NULL; in sbefifo_release_command() 787 user->pending_len = 0; in sbefifo_release_command() 793 struct sbefifo_user *user; in sbefifo_user_open() local 795 user = kzalloc_obj(struct sbefifo_user); in sbefifo_user_open() 796 if (!user) in sbefifo_user_open() 799 file->private_data = user; in sbefifo_user_open() 800 user->sbefifo = sbefifo; in sbefifo_user_open() [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | configuration.rst | 35 All other corresponding linux interfaces are called user interfaces. 37 The user interfaces depend on the conduit interface being up in order for them 39 interface had to be managed explicitly by the user. Starting with kernel v5.12, 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 56 a user interface 59 another user interface 62 a third user interface 65 A user interface dedicated for upstream traffic 100 # brought up manually before the user ports. [all …]
|
| /linux/drivers/iommu/iommufd/ |
| H A D | pages.c | 788 static void pfn_reader_user_init(struct pfn_reader_user *user, in pfn_reader_user_init() argument 791 user->upages = NULL; in pfn_reader_user_init() 792 user->upages_len = 0; in pfn_reader_user_init() 793 user->upages_start = 0; in pfn_reader_user_init() 794 user->upages_end = 0; in pfn_reader_user_init() 795 user->locked = -1; in pfn_reader_user_init() 796 user->gup_flags = FOLL_LONGTERM; in pfn_reader_user_init() 798 user->gup_flags |= FOLL_WRITE; in pfn_reader_user_init() 800 user->file = (pages->type == IOPT_ADDRESS_FILE) ? pages->file : NULL; in pfn_reader_user_init() 801 user->ufolios = NULL; in pfn_reader_user_init() [all …]
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | attack_vector_controls.rst | 31 User-to-Kernel 34 The user-to-kernel attack vector involves a malicious userspace program 39 If no untrusted userspace applications are being run, such as with single-user 40 systems, consider disabling user-to-kernel mitigations. 43 shown to be exploitable from browser-based sandboxes. User-to-kernel 47 *user-to-kernel mitigations are enabled by default* 51 User-to-User 54 The user-to-user attack vector involves a malicious userspace program attempting 60 user-to-user mitigations. 64 userspace program requires mitigating user-to-kernel attacks as well for [all …]
|
| /linux/drivers/staging/greybus/Documentation/firmware/ |
| H A D | firmware-management | 57 and user first needs to identify the character device used for 61 be used by the user to identify the right character device for it. The class 80 Following are the IOCTLs and their data structures available to the user: 142 This ioctl shall be used by the user to get the version and firmware-tag of 148 This ioctl shall be used by the user to get the version of a currently 149 running Backend Interface Firmware identified by a firmware-tag. The user is 156 This ioctl shall be used by the user to load an Interface Firmware package on 157 an Interface. The user needs to fill the 'firmware_tag' and 'load_method' 163 This ioctl shall be used by the user to request an Interface to update a 164 Backend Interface Firmware. The user is required to fill the 'firmware_tag' [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | container.rst | 14 problems once and for all (e.g. user id management). It also makes it easier 54 User id to use inside the container. 56 If the ``-g`` option is not specified, the user id will also be used for 71 It's entirely up to the user to choose which image to use and the ``CMD`` 74 working directory and adjust the user and group id as needed. 77 provided by the user and selected via the ``-i`` option. The container runtime 83 By default, commands are run non-interactively. The user can abort a running 111 The local environment file is more useful for user-specific variables added 129 User IDs 133 container runtime. The goal is to run commands as the user invoking the tool. [all …]
|
| /linux/security/keys/ |
| H A D | key.c | 47 * Get the key quota record for a user, allocating a new record if one doesn't 52 struct key_user *candidate = NULL, *user; in key_user_lookup() local 60 /* search the tree for a user record with a matching UID */ in key_user_lookup() 63 user = rb_entry(parent, struct key_user, node); in key_user_lookup() 65 if (uid_lt(uid, user->uid)) in key_user_lookup() 67 else if (uid_gt(uid, user->uid)) in key_user_lookup() 75 /* allocate a candidate user record if we don't already have in key_user_lookup() 79 user = NULL; in key_user_lookup() 90 /* if we get here, then the user record still hadn't appeared on the in key_user_lookup() 104 user in key_user_lookup() 119 key_user_put(struct key_user * user) key_user_put() argument 229 struct key_user *user = NULL; key_alloc() local [all...] |
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_msghandler.c | 41 static struct ipmi_recv_msg *ipmi_alloc_recv_msg(struct ipmi_user *user); 43 struct ipmi_user *user); 158 /* The default maximum number of message a user may have outstanding. */ 162 "The most message a user may have outstanding."); 182 * The main "user" data structure. 194 /* The interface this user is bound to. */ 206 struct ipmi_user *user; member 273 * but may be changed by the user. 317 /* Commands we got from the user that were invalid. */ 323 /* Responses from the MC that were delivered to a user. */ [all …]
|
| /linux/arch/powerpc/include/asm/nohash/32/ |
| H A D | mmu-44x.h | 36 #define PPC44x_TLB_U0 0x00008000 /* User 0 */ 37 #define PPC44x_TLB_U1 0x00004000 /* User 1 */ 38 #define PPC44x_TLB_U2 0x00002000 /* User 2 */ 39 #define PPC44x_TLB_U3 0x00001000 /* User 3 */ 47 #define PPC44x_TLB_UX 0x00000020 /* User execution */ 48 #define PPC44x_TLB_UW 0x00000010 /* User write */ 49 #define PPC44x_TLB_UR 0x00000008 /* User read */ 82 #define PPC47x_TLB2_U0 0x00008000 /* User 0 */ 83 #define PPC47x_TLB2_U1 0x00004000 /* User 1 */ 84 #define PPC47x_TLB2_U2 0x00002000 /* User 2 */ [all …]
|
| /linux/kernel/ |
| H A D | sysctl.c | 176 * @buffer: the user buffer 177 * @lenp: the size of the user buffer 180 * Reads/writes a string from/to the user buffer. If the kernel 183 * If the string is being read by the user process, it is copied 259 * proc_get_long - reads an ASCII formatted integer from a user buffer 327 * @buf: the user buffer 328 * @size: the size of the user buffer 363 * proc_uint_u2k_conv_uop - Assign user value to a kernel pointer 365 * @u_ptr: pointer to user space variable 387 * proc_uint_k2u_conv - Assign kernel value to a user spac [all...] |
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-driver-habanalabs | 42 Description: Allows the root user to read or write directly through the 46 the generic Linux user-space PCI mapping) because the DDR bar 50 If the IOMMU is disabled, it also allows the root user to read 57 Description: Allows the root user to read or write 64 bit data directly 61 the generic Linux user-space PCI mapping) because the DDR bar 65 If the IOMMU is disabled, it also allows the root user to read 72 Description: Allows the root user to read from the device's internal 77 Linux user-space PCI mapping) because the amount of internal 82 in case it is done while the device is executing user 90 Description: Enables the root user to set the device to specific state. [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | chan.c | 55 *addr = base + chan->func->user(chan, size); in nvkm_disp_chan_map() 156 if (disp->chan[chan->chid.user] == chan) in nvkm_disp_chan_dtor() 157 disp->chan[chan->chid.user] = NULL; in nvkm_disp_chan_dtor() 178 const struct nvkm_disp_chan_user *user = NULL; in nvkm_disp_chan_new_() local 183 for (i = 0; disp->func->user[i].ctor; i++) { in nvkm_disp_chan_new_() 184 if (disp->func->user[i].base.oclass == oclass->base.oclass) { in nvkm_disp_chan_new_() 185 user = disp->func->user[i].chan; in nvkm_disp_chan_new_() 190 if (WARN_ON(!user)) in nvkm_disp_chan_new_() 195 if (args->v0.id >= nr || !args->v0.pushbuf != !user->func->push) in nvkm_disp_chan_new_() 203 chan->func = user->func; in nvkm_disp_chan_new_() [all …]
|