search for: schaufler

Displaying 20 results from an estimated 30 matches for "schaufler".

2023 Mar 14
2
[PATCH v8 2/6] ocfs2: Switch to security_inode_init_security()
...tr name is set. If not, act as if security_old_inode_init_security() returned -EOPNOTSUPP, and set si->enable to zero to notify to the functions following ocfs2_init_security_get() that no xattrs are available. Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> Acked-by: Joseph Qi <joseph.qi at linux.alibaba.com> --- fs/ocfs2/namei.c | 2 ++ fs/ocfs2/xattr.c | 30 ++++++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 9175dbc4720..17...
2023 Feb 19
1
[PATCH v7 6/6] evm: Support multiple LSMs providing an xattr
...curity_inode_init_security(), expect that this array is terminated when > the xattr name is set to NULL, reuse the same assumption to scan all xattrs > and to calculate the HMAC on all of them. > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> Normally changing the contents of the EVM HMAC calculation would break existing systems. Assuming for the time being this is safe, at what point will it affect backwards compatability? Should it be documented now or then? -- thanks, Mimi
2022 Dec 01
1
[PATCH v7 3/6] security: Remove security_old_inode_init_security()
...ining two users reiserfs and ocfs2 switched to security_inode_init_security(), security_old_inode_init_security() can be now removed. Out-of-tree kernel modules should switch to security_inode_init_security() too. Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> --- include/linux/security.h | 12 ------------ security/security.c | 11 ----------- 2 files changed, 23 deletions(-) diff --git a/include/linux/security.h b/include/linux/security.h index ca1b7109c0db..c682fc96ed61 100644 --- a/include/linux/security.h +++...
2023 Mar 14
1
[PATCH v8 3/6] security: Remove security_old_inode_init_security()
...ining two users reiserfs and ocfs2 switched to security_inode_init_security(), security_old_inode_init_security() can be now removed. Out-of-tree kernel modules should switch to security_inode_init_security() too. Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> --- include/linux/security.h | 12 ------------ security/security.c | 11 ----------- 2 files changed, 23 deletions(-) diff --git a/include/linux/security.h b/include/linux/security.h index 5984d0d550b.....
2023 Mar 14
1
[PATCH v8 1/6] reiserfs: Switch to security_inode_init_security()
...r space. As a consequence, even if EVM is invoked, it will not provide an xattr (if it is not the first to set it, its xattr will be discarded; if it is the first, it does not have xattrs to calculate the HMAC on). Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> --- fs/reiserfs/xattr_security.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/fs/reiserfs/xattr_security.c b/fs/reiserfs/xattr_security.c index 41c0ea84fbf..6bff...
2023 Jan 10
3
[PATCH v7 2/6] ocfs2: Switch to security_inode_init_security()
...->enable to zero to > notify to the functions following ocfs2_init_security_get() that the xattr > is not available (same as if security_old_inode_init_security() returned > -EOPNOTSUPP). > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> > --- > fs/ocfs2/namei.c | 18 ++++++------------ > fs/ocfs2/xattr.c | 30 ++++++++++++++++++++++++++---- > 2 files changed, 32 insertions(+), 16 deletions(-) > > diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c > index 05f32989bad6..55fba81c...
2022 Dec 01
8
[PATCH v7 0/6] evm: Do HMAC of multiple per LSM xattrs for new inodes
From: Roberto Sassu <roberto.sassu at huawei.com> One of the major goals of LSM stacking is to run multiple LSMs side by side without interfering with each other. The ultimate decision will depend on individual LSM decision. Several changes need to be made to the LSM infrastructure to be able to support that. This patch set tackles one of them: gives to each LSM the ability to specify one
2023 Mar 14
7
[PATCH v8 0/6] evm: Do HMAC of multiple per LSM xattrs for new inodes
From: Roberto Sassu <roberto.sassu at huawei.com> One of the major goals of LSM stacking is to run multiple LSMs side by side without interfering with each other. The ultimate decision will depend on individual LSM decision. Several changes need to be made to the LSM infrastructure to be able to support that. This patch set tackles one of them: gives to each LSM the ability to specify one
2023 Mar 24
1
[PATCH v8 4/6] security: Allow all LSMs to provide xattrs for inode_init_security hook
...ted-by: Nicolas Bouchinet <nicolas.bouchinet at clip-os.org> (EVM crash) > > > > Link: https://lore.kernel.org/linux-integrity/Y1FTSIo+1x+4X0LS at archlinux/ > > > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > > > > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> > > > > Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> > > > > --- > > > > include/linux/lsm_hook_defs.h | 3 +- > > > > include/linux/lsm_hooks.h | 1 + > > > > security/security.c...
2023 Mar 27
1
[PATCH v8 4/6] security: Allow all LSMs to provide xattrs for inode_init_security hook
...Bouchinet <nicolas.bouchinet at clip-os.org> (EVM crash) > > > > > Link: https://lore.kernel.org/linux-integrity/Y1FTSIo+1x+4X0LS at archlinux/ > > > > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > > > > > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> > > > > > Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> > > > > > --- > > > > > include/linux/lsm_hook_defs.h | 3 +- > > > > > include/linux/lsm_hooks.h | 1 + > > > > > s...
2023 Feb 21
0
[PATCH v7 2/6] ocfs2: Switch to security_inode_init_security()
...s following ocfs2_init_security_get() that the xattr > > > is not available (same as if security_old_inode_init_security() returned > > > -EOPNOTSUPP). > > > > > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > > > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> > > > --- > > > fs/ocfs2/namei.c | 18 ++++++------------ > > > fs/ocfs2/xattr.c | 30 ++++++++++++++++++++++++++---- > > > 2 files changed, 32 insertions(+), 16 deletions(-) > > > > > > diff --git a/fs/ocfs2/...
2023 Mar 24
1
[PATCH v8 4/6] security: Allow all LSMs to provide xattrs for inode_init_security hook
...> > Reported-by: Nicolas Bouchinet <nicolas.bouchinet at clip-os.org> (EVM crash) > > > Link: https://lore.kernel.org/linux-integrity/Y1FTSIo+1x+4X0LS at archlinux/ > > > Signed-off-by: Roberto Sassu <roberto.sassu at huawei.com> > > > Reviewed-by: Casey Schaufler <casey at schaufler-ca.com> > > > Reviewed-by: Mimi Zohar <zohar at linux.ibm.com> > > > --- > > > include/linux/lsm_hook_defs.h | 3 +- > > > include/linux/lsm_hooks.h | 1 + > > > security/security.c | 119 +++++++++++++++...
2012 Dec 29
1
Samba 4 technical documentation
Hi Newsgroup, I want to write a technical thesis about Samba 4 and need more detailed infos about samba's own implementations of ldap, kerberos, bind, etc. and the differences from the common implementations. Obviously I'm to stupid to find it for myself so I would be very grateful for any help, links, etc. Thanks in advance, Markus
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25): arm: Use bool function return values of true/false not 1/0 arm64: Use bool function return values of true/false not 1/0 hexagon: Use bool function return values of true/false not 1/0 ia64: Use bool function return values of true/false not 1/0 mips: Use bool function return values of true/false not 1/0 powerpc: Use bool function return values of true/false not 1/0
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25): arm: Use bool function return values of true/false not 1/0 arm64: Use bool function return values of true/false not 1/0 hexagon: Use bool function return values of true/false not 1/0 ia64: Use bool function return values of true/false not 1/0 mips: Use bool function return values of true/false not 1/0 powerpc: Use bool function return values of true/false not 1/0
2015 Mar 30
5
[PATCH 00/25] treewide: Use bool function return values of true/false not 1/0
Joe Perches (25): arm: Use bool function return values of true/false not 1/0 arm64: Use bool function return values of true/false not 1/0 hexagon: Use bool function return values of true/false not 1/0 ia64: Use bool function return values of true/false not 1/0 mips: Use bool function return values of true/false not 1/0 powerpc: Use bool function return values of true/false not 1/0
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
...okia.com> Carlos Maiolino <cmaiolino@redhat.com> Carolyn Wyborny <carolyn.wyborny@intel.com> carriere etienne <etienne.carriere@stericsson.com> Carsten Emde <C.Emde@osadl.org> Carsten Otte <cotte@de.ibm.com> Carsten S. <carsteniq@yahoo.com> Casey Schaufler <casey@schaufler-ca.com> Casey Schaufler <cschaufler@cschaufler-intel.(none)> Caspar Zhang <caspar@casparzhang.com> Catalin Iacob <iacobcatalin@gmail.com> Catalin Marinas <catalin.marinas@arm.com> Catherine Sullivan <catherine.sullivan@intel.com> Ceri...
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...okia.com> Carlos Maiolino <cmaiolino@redhat.com> Carolyn Wyborny <carolyn.wyborny@intel.com> carriere etienne <etienne.carriere@stericsson.com> Carsten Emde <C.Emde@osadl.org> Carsten Otte <cotte@de.ibm.com> Carsten S. <carsteniq@yahoo.com> Casey Schaufler <casey@schaufler-ca.com> Casey Schaufler <cschaufler@cschaufler-intel.(none)> Caspar Zhang <caspar@casparzhang.com> Catalin Iacob <iacobcatalin@gmail.com> Catalin Marinas <catalin.marinas@arm.com> Catherine Sullivan <catherine.sullivan@intel.com> Ceri...
2013 Apr 10
0
[linux-linus test] 17612: regressions - FAIL
...okia.com> Carlos Maiolino <cmaiolino@redhat.com> Carolyn Wyborny <carolyn.wyborny@intel.com> carriere etienne <etienne.carriere@stericsson.com> Carsten Emde <C.Emde@osadl.org> Carsten Otte <cotte@de.ibm.com> Carsten S. <carsteniq@yahoo.com> Casey Schaufler <casey@schaufler-ca.com> Casey Schaufler <cschaufler@cschaufler-intel.(none)> Caspar Zhang <caspar@casparzhang.com> Catalin Iacob <iacobcatalin@gmail.com> Catalin Marinas <catalin.marinas@arm.com> Catherine Sullivan <catherine.sullivan@intel.com> Ceri...
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...okia.com> Carlos Maiolino <cmaiolino@redhat.com> Carolyn Wyborny <carolyn.wyborny@intel.com> carriere etienne <etienne.carriere@stericsson.com> Carsten Emde <C.Emde@osadl.org> Carsten Otte <cotte@de.ibm.com> Carsten S. <carsteniq@yahoo.com> Casey Schaufler <casey@schaufler-ca.com> Casey Schaufler <cschaufler@cschaufler-intel.(none)> Caspar Zhang <caspar@casparzhang.com> Catalin Iacob <iacobcatalin@gmail.com> Catalin Marinas <catalin.marinas@arm.com> Catherine Sullivan <catherine.sullivan@intel.com> Ceri...