Skip to content

Commit 9746c9b

Browse files
committed
exec: Remove unnecessary spaces from binfmts.h
The general convention in the linux kernel is to define a pointer member as "type *name". The declaration of struct linux_binprm has several pointer defined as "type * name". Update them to the form of "type *name" for consistency. Suggested-by: Kees Cook <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: "Eric W. Biederman" <[email protected]>
1 parent f06b71f commit 9746c9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/linux/binfmts.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ struct linux_binprm {
4545
#ifdef __alpha__
4646
unsigned int taso:1;
4747
#endif
48-
struct file * executable; /* Executable to pass to the interpreter */
49-
struct file * interpreter;
50-
struct file * file;
48+
struct file *executable; /* Executable to pass to the interpreter */
49+
struct file *interpreter;
50+
struct file *file;
5151
struct cred *cred; /* new credentials */
5252
int unsafe; /* how unsafe this exec is (mask of LSM_UNSAFE_*) */
5353
unsigned int per_clear; /* bits to clear in current->personality */
5454
int argc, envc;
55-
const char * filename; /* Name of binary as seen by procps */
56-
const char * interp; /* Name of the binary really executed. Most
55+
const char *filename; /* Name of binary as seen by procps */
56+
const char *interp; /* Name of the binary really executed. Most
5757
of the time same as filename, but could be
5858
different for binfmt_{misc,script} */
5959
unsigned interp_flags;

0 commit comments

Comments
 (0)