s390/hypfs: add interface for diagnose 0x304
To provide access to the set-partition-resource-parameter interface
to user space add a new attribute to hypfs/debugfs:
* s390_hypsfs/diag_304
The data for the query-partition-resource-parameters command can
be access by a read on the attribute. All other diagnose 0x304
requests need to be submitted via ioctl with CAP_SYS_ADMIN rights.
Signed-off-by:
Martin Schwidefsky <schwidefsky@de.ibm.com>
Showing
- Documentation/ioctl/ioctl-number.txt 1 addition, 0 deletionsDocumentation/ioctl/ioctl-number.txt
- arch/s390/hypfs/Makefile 1 addition, 1 deletionarch/s390/hypfs/Makefile
- arch/s390/hypfs/hypfs.h 7 additions, 0 deletionsarch/s390/hypfs/hypfs.h
- arch/s390/hypfs/hypfs_dbfs.c 16 additions, 0 deletionsarch/s390/hypfs/hypfs_dbfs.c
- arch/s390/hypfs/hypfs_sprp.c 141 additions, 0 deletionsarch/s390/hypfs/hypfs_sprp.c
- arch/s390/hypfs/inode.c 11 additions, 4 deletionsarch/s390/hypfs/inode.c
- arch/s390/include/asm/sclp.h 1 addition, 0 deletionsarch/s390/include/asm/sclp.h
- arch/s390/include/uapi/asm/hypfs.h 25 additions, 0 deletionsarch/s390/include/uapi/asm/hypfs.h
- drivers/s390/char/sclp_cmd.c 5 additions, 0 deletionsdrivers/s390/char/sclp_cmd.c
Loading
Please register or sign in to comment