Linux kernel source tree
Find a file
Masahiro Yamada 3cbcff6911 sparc: fix mis-use of __kernel_{uid,gid}_t in uapi/asm/stat.h
Commit 31a088b664 ("sparc: add asm/stat.h to UAPI compile-test
coverage") converted as follows:

  uid_t  -->  __kernel_uid_t
  gid_t  -->  __kernel_gid_t

It changed the field widths of struct stat because Sparc uses 16-bits for
___kernel_{uid,gid}_t as in arch/sparc/include/uapi/asm/posix_types.h.

The safe replacements across all architectures are:

  uid_t  -->  __kernel_uid32_t
  gid_t  -->  __kernel_gid32_t

as defined in include/linux/types.h.

A similar issue was reported for the android binder. [1]

[1]: https://lore.kernel.org/all/20220601010017.2639048-1-cmllamas@google.com/

Fixes: 31a088b664 ("sparc: add asm/stat.h to UAPI compile-test coverage")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-06-02 17:38:15 +02:00
arch sparc: fix mis-use of __kernel_{uid,gid}_t in uapi/asm/stat.h 2022-06-02 17:38:15 +02:00
block
certs
crypto
Documentation h8300: remove stale bindings and symlink 2022-05-20 22:40:56 +02:00
drivers Merge branch 'remove-h8300' of git://git.infradead.org/users/hch/misc into asm-generic 2022-04-04 14:42:49 +02:00
fs Updates to Tracing: 2022-04-03 12:26:01 -07:00
include Merge branch 'asm-generic-headers-cleanup' into asm-generic 2022-05-13 10:59:50 +02:00
init Merge branch 'remove-h8300' of git://git.infradead.org/users/hch/misc into asm-generic 2022-04-04 14:42:49 +02:00
ipc
kernel Updates to Tracing: 2022-04-03 12:26:01 -07:00
lib
LICENSES
mm
net
samples
scripts h8300: remove stale bindings and symlink 2022-05-20 22:40:56 +02:00
security
sound
tools Merge branch 'remove-h8300' of git://git.infradead.org/users/hch/misc into asm-generic 2022-04-04 14:42:49 +02:00
usr sparc: add asm/stat.h to UAPI compile-test coverage 2022-05-13 10:56:10 +02:00
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS Merge branch 'remove-h8300' of git://git.infradead.org/users/hch/misc into asm-generic 2022-04-04 14:42:49 +02:00
Makefile Linux 5.18-rc1 2022-04-03 14:08:21 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.