X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=fs%2Fproc%2Finternal.h;h=aa2b8907163086daf83034a3dcf54b011d794fe9;hb=e06fdaf40a5c021dd4a2ec797e8b724f07360070;hp=18694598bebfb4781c79cb9c75107f37e54349c4;hpb=a90c6ac2b5651b1f907de512c2fa648c9fa6bb6e;p=linux-2.6-microblaze.git diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 18694598bebf..aa2b89071630 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -51,7 +51,7 @@ struct proc_dir_entry { spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */ u8 namelen; char name[]; -}; +} __randomize_layout; union proc_op { int (*proc_get_link)(struct dentry *, struct path *); @@ -70,7 +70,7 @@ struct proc_inode { struct hlist_node sysctl_inodes; const struct proc_ns_operations *ns_ops; struct inode vfs_inode; -}; +} __randomize_layout; /* * General functions @@ -279,7 +279,7 @@ struct proc_maps_private { #ifdef CONFIG_NUMA struct mempolicy *task_mempolicy; #endif -}; +} __randomize_layout; struct mm_struct *proc_mem_open(struct inode *inode, unsigned int mode);