security.c (746df9b59c8a5f162c907796c7295d3c4c0d8995) | security.c (649f6e7718891fe7691e5084ce3fa623acba3129) |
---|---|
1/* 2 * Security plug functions 3 * 4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com> 5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 280 unchanged lines hidden (view full) --- 289} 290 291int security_sb_pivotroot(struct path *old_path, struct path *new_path) 292{ 293 return security_ops->sb_pivotroot(old_path, new_path); 294} 295 296int security_sb_set_mnt_opts(struct super_block *sb, | 1/* 2 * Security plug functions 3 * 4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com> 5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com> 6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com> 7 * 8 * This program is free software; you can redistribute it and/or modify --- 280 unchanged lines hidden (view full) --- 289} 290 291int security_sb_pivotroot(struct path *old_path, struct path *new_path) 292{ 293 return security_ops->sb_pivotroot(old_path, new_path); 294} 295 296int security_sb_set_mnt_opts(struct super_block *sb, |
297 struct security_mnt_opts *opts) | 297 struct security_mnt_opts *opts, 298 unsigned long kern_flags, 299 unsigned long *set_kern_flags) |
298{ | 300{ |
299 return security_ops->sb_set_mnt_opts(sb, opts); | 301 return security_ops->sb_set_mnt_opts(sb, opts, kern_flags, 302 set_kern_flags); |
300} 301EXPORT_SYMBOL(security_sb_set_mnt_opts); 302 303int security_sb_clone_mnt_opts(const struct super_block *oldsb, 304 struct super_block *newsb) 305{ 306 return security_ops->sb_clone_mnt_opts(oldsb, newsb); 307} --- 1139 unchanged lines hidden --- | 303} 304EXPORT_SYMBOL(security_sb_set_mnt_opts); 305 306int security_sb_clone_mnt_opts(const struct super_block *oldsb, 307 struct super_block *newsb) 308{ 309 return security_ops->sb_clone_mnt_opts(oldsb, newsb); 310} --- 1139 unchanged lines hidden --- |