For all internal uses we want umode_t, which is arch-independent; mode_t (or __kernel_mode_t, for that matter) is wrong outside of userland ABI. Unfortunately, that crap keeps coming back and needs to be put down from time to time... The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.whack-a-mole for you to fetch changes up to c6eb50d2790478d8b5841379b9502812a5e5feb3: mode_t whack-a-mole: task_dump_owner() (2017-09-30 14:45:42 -0400) ---------------------------------------------------------------- Al Viro (1): mode_t whack-a-mole: task_dump_owner() fs/proc/base.c | 2 +- fs/proc/internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)