mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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>
This commit is contained in:
parent
0a2aa995c0
commit
cb3852f3e5
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user