Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/caitsith-patch/include/linux/lsm2caitsith.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 266 by kumaneko, Sun Apr 1 05:23:22 2018 UTC revision 267 by kumaneko, Mon Aug 27 10:15:55 2018 UTC
# Line 28  int ccs_inode_getattr(const struct path Line 28  int ccs_inode_getattr(const struct path
28  #endif  #endif
29  int ccs_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg);  int ccs_file_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
30  int ccs_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg);  int ccs_file_fcntl(struct file *file, unsigned int cmd, unsigned long arg);
31    #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
32    int ccs_file_open(struct file *file);
33    #else
34  int ccs_file_open(struct file *file, const struct cred *cred);  int ccs_file_open(struct file *file, const struct cred *cred);
35    #endif
36  int ccs_socket_create(int family, int type, int protocol, int kern);  int ccs_socket_create(int family, int type, int protocol, int kern);
37  int ccs_socket_bind(struct socket *sock, struct sockaddr *address,  int ccs_socket_bind(struct socket *sock, struct sockaddr *address,
38                      int addrlen);                      int addrlen);
# Line 128  static inline int ccs_file_fcntl(struct Line 132  static inline int ccs_file_fcntl(struct
132  {  {
133          return 0;          return 0;
134  }  }
135    #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
136    static inline int ccs_file_open(struct file *file)
137    {
138            return 0;
139    }
140    #else
141  static inline int ccs_file_open(struct file *file, const struct cred *cred)  static inline int ccs_file_open(struct file *file, const struct cred *cred)
142  {  {
143          return 0;          return 0;
144  }  }
145    #endif
146  static inline int ccs_socket_create(int family, int type, int protocol,  static inline int ccs_socket_create(int family, int type, int protocol,
147                                      int kern)                                      int kern)
148  {  {

Legend:
Removed from v.266  
changed lines
  Added in v.267

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26