scm.h (b488893a390edfe027bae7a46e9af8083e740668) | scm.h (f8d570a4745835f2238a33b537218a1bb03fc671) |
---|---|
1#ifndef __LINUX_NET_SCM_H 2#define __LINUX_NET_SCM_H 3 4#include <linux/limits.h> 5#include <linux/net.h> 6#include <linux/security.h> 7#include <linux/pid.h> 8#include <linux/nsproxy.h> 9 10/* Well, we should have at least one descriptor open 11 * to accept passed FDs 8) 12 */ 13#define SCM_MAX_FD 255 14 15struct scm_fp_list 16{ | 1#ifndef __LINUX_NET_SCM_H 2#define __LINUX_NET_SCM_H 3 4#include <linux/limits.h> 5#include <linux/net.h> 6#include <linux/security.h> 7#include <linux/pid.h> 8#include <linux/nsproxy.h> 9 10/* Well, we should have at least one descriptor open 11 * to accept passed FDs 8) 12 */ 13#define SCM_MAX_FD 255 14 15struct scm_fp_list 16{ |
17 int count; 18 struct file *fp[SCM_MAX_FD]; | 17 struct list_head list; 18 int count; 19 struct file *fp[SCM_MAX_FD]; |
19}; 20 21struct scm_cookie 22{ 23 struct ucred creds; /* Skb credentials */ 24 struct scm_fp_list *fp; /* Passed files */ 25#ifdef CONFIG_SECURITY_NETWORK 26 u32 secid; /* Passed security ID */ --- 87 unchanged lines hidden --- | 20}; 21 22struct scm_cookie 23{ 24 struct ucred creds; /* Skb credentials */ 25 struct scm_fp_list *fp; /* Passed files */ 26#ifdef CONFIG_SECURITY_NETWORK 27 u32 secid; /* Passed security ID */ --- 87 unchanged lines hidden --- |