cregit-Linux how code gets into the kernel

Release 4.12 include/linux/stat.h

Directory: include/linux
#ifndef _LINUX_STAT_H

#define _LINUX_STAT_H


#include <asm/stat.h>
#include <uapi/linux/stat.h>


#define S_IRWXUGO	(S_IRWXU|S_IRWXG|S_IRWXO)

#define S_IALLUGO	(S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)

#define S_IRUGO		(S_IRUSR|S_IRGRP|S_IROTH)

#define S_IWUGO		(S_IWUSR|S_IWGRP|S_IWOTH)

#define S_IXUGO		(S_IXUSR|S_IXGRP|S_IXOTH)


#define UTIME_NOW	((1l << 30) - 1l)

#define UTIME_OMIT	((1l << 30) - 2l)

#include <linux/types.h>
#include <linux/time.h>
#include <linux/uidgid.h>


#define KSTAT_QUERY_FLAGS (AT_STATX_SYNC_TYPE)


struct kstat {
	
u32		result_mask;	/* What fields the user got */
	
umode_t		mode;
	
unsigned int	nlink;
	
uint32_t	blksize;	/* Preferred I/O size */
	
u64		attributes;
	
u64		attributes_mask;

#define KSTAT_ATTR_FS_IOC_FLAGS				\
	(STATX_ATTR_COMPRESSED |                        \
         STATX_ATTR_IMMUTABLE |                         \
         STATX_ATTR_APPEND |                            \
         STATX_ATTR_NODUMP |                            \
         STATX_ATTR_ENCRYPTED                           \
         )/* Attrs corresponding to FS_*_FL flags */
	
u64		ino;
	
dev_t		dev;
	
dev_t		rdev;
	
kuid_t		uid;
	
kgid_t		gid;
	
loff_t		size;
	
struct timespec	atime;
	
struct timespec	mtime;
	
struct timespec	ctime;
	
struct timespec	btime;			/* File creation time */
	
u64		blocks;
};

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
David Howells4032.00%325.00%
Linus Torvalds (pre-git)3124.80%433.33%
Al Viro3024.00%18.33%
Andi Kleen97.20%18.33%
Ulrich Drepper86.40%18.33%
Eric W. Biedermann54.00%18.33%
Chris Wedgwood21.60%18.33%
Total125100.00%12100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.