Al Viro
3767e255b3
switch ->setxattr() to passing dentry and inode separately
...
smack ->d_instantiate() uses ->setxattr(), so to be able to call it before
we'd hashed the new dentry and attached it to inode, we need ->setxattr()
instances getting the inode as an explicit argument rather than obtaining
it from dentry.
Similar change for ->getxattr() had been done in commit ce23e64 . Unlike
->getxattr() (which is used by both selinux and smack instances of
->d_instantiate()) ->setxattr() is used only by smack one and unfortunately
it got missed back then.
Reported-by: Seung-Woo Kim <sw0312.kim@samsung.com >
Tested-by: Casey Schaufler <casey@schaufler-ca.com >
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2016-05-27 20:09:16 -04:00
..
2016-05-27 15:39:43 -04:00
2016-05-17 15:05:23 -07:00
2016-05-17 16:26:30 -07:00
2016-05-02 19:49:32 -04:00
2016-05-23 17:04:14 -07:00
2016-05-09 11:41:14 -04:00
2016-05-27 15:39:43 -04:00
2016-04-04 10:41:08 -07:00
2016-05-27 15:39:43 -04:00
2016-05-27 15:39:43 -04:00
2016-05-02 19:49:29 -04:00
2016-05-09 11:41:13 -04:00
2016-05-09 11:41:14 -04:00
2016-05-07 10:32:33 -07:00
2016-04-19 04:28:28 +09:00
2016-04-26 15:47:32 -07:00
2016-04-04 10:41:08 -07:00
2016-05-27 20:09:16 -04:00
2016-05-20 17:58:30 -07:00
2016-05-20 17:58:30 -07:00
2016-05-17 17:05:30 -07:00
2016-05-02 19:49:29 -04:00
2016-05-27 15:39:43 -04:00
2016-05-27 15:39:43 -04:00
2016-05-27 15:39:43 -04:00
2016-05-17 15:05:23 -07:00
2016-05-09 11:41:14 -04:00
2016-04-04 10:41:08 -07:00
2016-05-27 20:09:16 -04:00
2016-05-27 15:39:43 -04:00
2016-05-27 20:09:16 -04:00
2016-05-27 15:39:43 -04:00
2016-05-12 19:49:30 -04:00
2016-05-12 19:47:13 -04:00
2016-04-04 10:41:08 -07:00
2016-05-11 00:00:29 -04:00
2016-05-24 12:55:26 -07:00
2016-05-27 15:39:43 -04:00
2016-05-27 15:39:43 -04:00
2016-05-27 20:09:16 -04:00
2016-05-09 11:42:19 -04:00
2016-05-02 19:49:32 -04:00
2016-04-04 10:41:08 -07:00
2016-05-27 15:39:43 -04:00
2016-05-24 14:39:20 -07:00
2016-05-23 17:04:14 -07:00
2016-05-19 19:12:14 -07:00
2016-05-01 19:58:39 -04:00
2016-05-27 15:39:43 -04:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-05-27 15:39:43 -04:00
2016-05-27 20:09:16 -04:00
2016-05-23 17:04:14 -07:00
2016-04-04 10:41:08 -07:00
2016-05-09 11:41:14 -04:00
2016-05-09 11:41:14 -04:00
2016-04-26 12:00:48 -04:00
2016-05-20 17:58:30 -07:00
2016-05-27 15:39:43 -04:00
2016-05-09 11:41:15 -04:00
2016-05-09 11:41:15 -04:00
2016-05-02 19:49:32 -04:00
2016-05-27 15:39:43 -04:00
2016-05-17 15:05:23 -07:00
2016-05-02 19:49:32 -04:00
2016-05-27 15:39:43 -04:00
2016-05-23 17:04:14 -07:00
2016-05-27 20:09:16 -04:00
2016-05-23 17:04:14 -07:00
2016-05-18 11:51:59 -07:00
2016-05-23 17:04:14 -07:00
2016-05-23 11:18:01 -07:00
2016-05-19 19:12:14 -07:00
2016-03-29 10:11:44 -07:00
2016-05-24 12:55:26 -07:00
2016-05-23 17:04:14 -07:00
2016-05-24 12:55:26 -07:00
2016-05-18 11:51:59 -07:00
2016-05-01 19:58:39 -04:00
2016-03-22 15:36:02 -07:00
2016-05-19 19:12:14 -07:00
2016-05-23 17:04:14 -07:00
2016-03-22 15:36:02 -07:00
2016-05-02 19:49:28 -04:00
2016-05-20 17:58:30 -07:00
2016-05-02 19:49:28 -04:00
2016-03-26 12:59:04 -07:00
2016-05-23 17:04:14 -07:00
2016-05-27 20:09:16 -04:00
2016-03-26 12:59:04 -07:00
2016-04-04 10:41:08 -07:00
2016-05-19 09:21:36 -07:00
2016-05-17 14:41:03 -07:00
2016-04-04 10:41:08 -07:00
2016-05-05 09:54:45 -05:00
2016-05-27 15:39:43 -04:00
2016-03-16 13:09:08 -04:00
2016-05-18 11:46:23 -07:00
2016-05-26 00:13:25 -04:00
2016-05-19 19:12:14 -07:00
2016-04-14 12:56:09 -07:00
2016-05-11 00:00:29 -04:00
2016-04-18 11:18:55 +02:00
2016-04-04 10:41:08 -07:00
2016-05-20 17:58:30 -07:00
2016-05-27 20:09:16 -04:00