~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/asm-generic/posix_types.h

Version: ~ [ linux-5.16-rc3 ] ~ [ linux-5.15.5 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.82 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.162 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.218 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.256 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.291 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.293 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.18.140 ] ~ [ linux-3.16.85 ] ~ [ linux-3.14.79 ] ~ [ linux-3.12.74 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/asm-generic/posix_types.h (Version linux-4.0.9) and /include/uapi/asm-generic/posix_types.h (Version linux-5.11.22)


                                                   >>   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  1 #ifndef __ASM_GENERIC_POSIX_TYPES_H                 2 #ifndef __ASM_GENERIC_POSIX_TYPES_H
  2 #define __ASM_GENERIC_POSIX_TYPES_H                 3 #define __ASM_GENERIC_POSIX_TYPES_H
  3                                                     4 
  4 #include <asm/bitsperlong.h>                        5 #include <asm/bitsperlong.h>
  5 /*                                                  6 /*
  6  * This file is generally used by user-level s      7  * This file is generally used by user-level software, so you need to
  7  * be a little careful about namespace polluti      8  * be a little careful about namespace pollution etc.
  8  *                                                  9  *
  9  * First the types that are often defined in d     10  * First the types that are often defined in different ways across
 10  * architectures, so that you can override the     11  * architectures, so that you can override them.
 11  */                                                12  */
 12                                                    13 
 13 #ifndef __kernel_long_t                            14 #ifndef __kernel_long_t
 14 typedef long            __kernel_long_t;           15 typedef long            __kernel_long_t;
 15 typedef unsigned long   __kernel_ulong_t;          16 typedef unsigned long   __kernel_ulong_t;
 16 #endif                                             17 #endif
 17                                                    18 
 18 #ifndef __kernel_ino_t                             19 #ifndef __kernel_ino_t
 19 typedef __kernel_ulong_t __kernel_ino_t;           20 typedef __kernel_ulong_t __kernel_ino_t;
 20 #endif                                             21 #endif
 21                                                    22 
 22 #ifndef __kernel_mode_t                            23 #ifndef __kernel_mode_t
 23 typedef unsigned int    __kernel_mode_t;           24 typedef unsigned int    __kernel_mode_t;
 24 #endif                                             25 #endif
 25                                                    26 
 26 #ifndef __kernel_pid_t                             27 #ifndef __kernel_pid_t
 27 typedef int             __kernel_pid_t;            28 typedef int             __kernel_pid_t;
 28 #endif                                             29 #endif
 29                                                    30 
 30 #ifndef __kernel_ipc_pid_t                         31 #ifndef __kernel_ipc_pid_t
 31 typedef int             __kernel_ipc_pid_t;        32 typedef int             __kernel_ipc_pid_t;
 32 #endif                                             33 #endif
 33                                                    34 
 34 #ifndef __kernel_uid_t                             35 #ifndef __kernel_uid_t
 35 typedef unsigned int    __kernel_uid_t;            36 typedef unsigned int    __kernel_uid_t;
 36 typedef unsigned int    __kernel_gid_t;            37 typedef unsigned int    __kernel_gid_t;
 37 #endif                                             38 #endif
 38                                                    39 
 39 #ifndef __kernel_suseconds_t                       40 #ifndef __kernel_suseconds_t
 40 typedef __kernel_long_t         __kernel_susec     41 typedef __kernel_long_t         __kernel_suseconds_t;
 41 #endif                                             42 #endif
 42                                                    43 
 43 #ifndef __kernel_daddr_t                           44 #ifndef __kernel_daddr_t
 44 typedef int             __kernel_daddr_t;          45 typedef int             __kernel_daddr_t;
 45 #endif                                             46 #endif
 46                                                    47 
 47 #ifndef __kernel_uid32_t                           48 #ifndef __kernel_uid32_t
 48 typedef unsigned int    __kernel_uid32_t;          49 typedef unsigned int    __kernel_uid32_t;
 49 typedef unsigned int    __kernel_gid32_t;          50 typedef unsigned int    __kernel_gid32_t;
 50 #endif                                             51 #endif
 51                                                    52 
 52 #ifndef __kernel_old_uid_t                         53 #ifndef __kernel_old_uid_t
 53 typedef __kernel_uid_t  __kernel_old_uid_t;        54 typedef __kernel_uid_t  __kernel_old_uid_t;
 54 typedef __kernel_gid_t  __kernel_old_gid_t;        55 typedef __kernel_gid_t  __kernel_old_gid_t;
 55 #endif                                             56 #endif
 56                                                    57 
 57 #ifndef __kernel_old_dev_t                         58 #ifndef __kernel_old_dev_t
 58 typedef unsigned int    __kernel_old_dev_t;        59 typedef unsigned int    __kernel_old_dev_t;
 59 #endif                                             60 #endif
 60                                                    61 
 61 /*                                                 62 /*
 62  * Most 32 bit architectures use "unsigned int     63  * Most 32 bit architectures use "unsigned int" size_t,
 63  * and all 64 bit architectures use "unsigned      64  * and all 64 bit architectures use "unsigned long" size_t.
 64  */                                                65  */
 65 #ifndef __kernel_size_t                            66 #ifndef __kernel_size_t
 66 #if __BITS_PER_LONG != 64                          67 #if __BITS_PER_LONG != 64
 67 typedef unsigned int    __kernel_size_t;           68 typedef unsigned int    __kernel_size_t;
 68 typedef int             __kernel_ssize_t;          69 typedef int             __kernel_ssize_t;
 69 typedef int             __kernel_ptrdiff_t;        70 typedef int             __kernel_ptrdiff_t;
 70 #else                                              71 #else
 71 typedef __kernel_ulong_t __kernel_size_t;          72 typedef __kernel_ulong_t __kernel_size_t;
 72 typedef __kernel_long_t __kernel_ssize_t;          73 typedef __kernel_long_t __kernel_ssize_t;
 73 typedef __kernel_long_t __kernel_ptrdiff_t;        74 typedef __kernel_long_t __kernel_ptrdiff_t;
 74 #endif                                             75 #endif
 75 #endif                                             76 #endif
 76                                                    77 
 77 #ifndef __kernel_fsid_t                            78 #ifndef __kernel_fsid_t
 78 typedef struct {                                   79 typedef struct {
 79         int     val[2];                            80         int     val[2];
 80 } __kernel_fsid_t;                                 81 } __kernel_fsid_t;
 81 #endif                                             82 #endif
 82                                                    83 
 83 /*                                                 84 /*
 84  * anything below here should be completely ge     85  * anything below here should be completely generic
 85  */                                                86  */
 86 typedef __kernel_long_t __kernel_off_t;            87 typedef __kernel_long_t __kernel_off_t;
 87 typedef long long       __kernel_loff_t;           88 typedef long long       __kernel_loff_t;
                                                   >>  89 typedef __kernel_long_t __kernel_old_time_t;
                                                   >>  90 #ifndef __KERNEL__
 88 typedef __kernel_long_t __kernel_time_t;           91 typedef __kernel_long_t __kernel_time_t;
                                                   >>  92 #endif
                                                   >>  93 typedef long long __kernel_time64_t;
 89 typedef __kernel_long_t __kernel_clock_t;          94 typedef __kernel_long_t __kernel_clock_t;
 90 typedef int             __kernel_timer_t;          95 typedef int             __kernel_timer_t;
 91 typedef int             __kernel_clockid_t;        96 typedef int             __kernel_clockid_t;
 92 typedef char *          __kernel_caddr_t;          97 typedef char *          __kernel_caddr_t;
 93 typedef unsigned short  __kernel_uid16_t;          98 typedef unsigned short  __kernel_uid16_t;
 94 typedef unsigned short  __kernel_gid16_t;          99 typedef unsigned short  __kernel_gid16_t;
 95                                                   100 
 96 #endif /* __ASM_GENERIC_POSIX_TYPES_H */          101 #endif /* __ASM_GENERIC_POSIX_TYPES_H */
 97                                                   102 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp