Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f325129a authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

Staging: silicom: remove S_IWOTH from proc declaration



We don't need these to be world writable or group writable.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Cc: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 47ad3428
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -7724,8 +7724,7 @@ bypass_proc_create_entry_sd(struct pfs_unit_sd *pfs_unit_curr,
	pfs_unit_curr->proc_entry = create_proc_entry(pfs_unit_curr->proc_name,
						      S_IFREG | S_IRUSR |
						      S_IWUSR | S_IRGRP |
						      S_IWGRP | S_IROTH |
						      S_IWOTH, parent_pfs);
						      S_IROTH, parent_pfs);
	if (pfs_unit_curr->proc_entry == 0) {

		return -1;
+1 −2
Original line number Diff line number Diff line
@@ -106,8 +106,7 @@ bypass_proc_create_entry_sd(struct pfs_unit *pfs_unit_curr,
	pfs_unit_curr->proc_entry = create_proc_entry(pfs_unit_curr->proc_name,
						      S_IFREG | S_IRUSR |
						      S_IWUSR | S_IRGRP |
						      S_IWGRP | S_IROTH |
						      S_IWOTH, parent_pfs);
						      S_IROTH, parent_pfs);
	if (pfs_unit_curr->proc_entry == 0) {

		return -1;