feature: add devpts fd wrapper (#21)
This feature is intended to resolve devpts problem.
This commit is contained in:
@@ -408,8 +408,8 @@ int __ksu_handle_devpts(struct inode *inode)
|
||||
struct inode_security_struct *sec =
|
||||
(struct inode_security_struct *)inode->i_security;
|
||||
#endif
|
||||
if (ksu_devpts_sid && sec)
|
||||
sec->sid = ksu_devpts_sid;
|
||||
if (ksu_file_sid && sec)
|
||||
sec->sid = ksu_file_sid;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user