projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
[platform/kernel/linux-starfive.git]
/
fs
/
coredump.c
diff --git
a/fs/coredump.c
b/fs/coredump.c
index
88740c5
..
9d235fa
100644
(file)
--- a/
fs/coredump.c
+++ b/
fs/coredump.c
@@
-648,7
+648,7
@@
void do_coredump(const kernel_siginfo_t *siginfo)
} else {
struct mnt_idmap *idmap;
struct inode *inode;
- int open_flags = O_CREAT | O_
RDWR
| O_NOFOLLOW |
+ int open_flags = O_CREAT | O_
WRONLY
| O_NOFOLLOW |
O_LARGEFILE | O_EXCL;
if (cprm.limit < binfmt->min_coredump)