Re: [PATCH] exec: make prepare_bprm_creds static

2018-12-10 Thread Al Viro
On Mon, Dec 10, 2018 at 04:49:54PM +0900, Chanho Min wrote: > prepare_bprm_creds is not used outside exec.c, so there's no reason for it > to have external linkage. Applied...

Re: [PATCH] exec: make prepare_bprm_creds static

2018-12-10 Thread Michal Hocko
On Mon 10-12-18 16:49:54, Chanho Min wrote: > prepare_bprm_creds is not used outside exec.c, so there's no reason for it > to have external linkage. > > Signed-off-by: Chanho Min Acked-by: Michal Hocko > --- > fs/exec.c | 2 +- > include/linux/binfmts.h | 1 - > 2 files changed,

[PATCH] exec: make prepare_bprm_creds static

2018-12-09 Thread Chanho Min
prepare_bprm_creds is not used outside exec.c, so there's no reason for it to have external linkage. Signed-off-by: Chanho Min --- fs/exec.c | 2 +- include/linux/binfmts.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index fc281b7..b6c