diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-05-19 09:20:43 +0300 |
|---|---|---|
| committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2026-05-26 09:15:40 +0300 |
| commit | cb3852f3e53e06dbb5b90ee068bc9db8cf89cb48 (patch) | |
| tree | ce02dc51cf8fc280203b104a596e55c501bcb2ed | |
| parent | 0a2aa995c0a1d363b5f0803862e84834e3876ae2 (diff) | |
| download | linux-cb3852f3e53e06dbb5b90ee068bc9db8cf89cb48.tar.xz | |
s390/zcore: Use octal permission
Replace symbolic permissions with octal permissions, which are preferred.
Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
| -rw-r--r-- | drivers/s390/char/zcore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c index a131f171208c..1ab7400a3c10 100644 --- a/drivers/s390/char/zcore.c +++ b/drivers/s390/char/zcore.c @@ -351,8 +351,8 @@ static int __init zcore_init(void) goto fail; zcore_dir = debugfs_create_dir("zcore" , NULL); - debugfs_create_file("reipl", S_IRUSR, zcore_dir, NULL, &zcore_reipl_fops); - debugfs_create_file("hsa", S_IRUSR|S_IWUSR, zcore_dir, NULL, &zcore_hsa_fops); + debugfs_create_file("reipl", 0400, zcore_dir, NULL, &zcore_reipl_fops); + debugfs_create_file("hsa", 0600, zcore_dir, NULL, &zcore_hsa_fops); register_reboot_notifier(&zcore_reboot_notifier); atomic_notifier_chain_register(&panic_notifier_list, &zcore_on_panic_notifier); |
