Эх сурвалжийг харах

[PATCH] Export should_remove_suid()

This helps us avoid replicating the same logic within file system drivers.

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Mark Fasheh 18 жил өмнө
parent
commit
d23a147bb6
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      mm/filemap.c

+ 1 - 0
mm/filemap.c

@@ -1893,6 +1893,7 @@ int should_remove_suid(struct dentry *dentry)
 
 
 	return 0;
 	return 0;
 }
 }
+EXPORT_SYMBOL(should_remove_suid);
 
 
 int __remove_suid(struct dentry *dentry, int kill)
 int __remove_suid(struct dentry *dentry, int kill)
 {
 {