From: Amon Ott <ao@rsbac.org>
Subject: Re: RSBAC working with SGI XFS 1.0
Date: Mon, 7 May 2001 14:43:15 +0200
Next Article (by Subject): RSBAC&reiserfs Stanislav Ievlev
Previous Article (by Subject): Re: RSBAC working with SGI XFS 1.0 Amon Ott
Top of Thread: RSBAC working with SGI XFS 1.0 K Mitchell Russell
Articles sorted by: [Date]
[Author]
[Subject]
--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain Content-Transfer-Encoding: 8bit On Mon, 07 Mai 2001 Amon Ott wrote: > On Son, 06 Mai 2001 K Mitchell Russell wrote: > > On Sun, 6 May 2001, Keith Matthews wrote: > > > > > How did you apply RSBAC rules to the XFS filesystem code (fs/ext2/namei.c) > > > ? With ext3 its fairly easy as the module is almost a straight clone of ext2. > > > > Good question: I didn't. All the fs/* patches applied fine, and the > > fs/*/namei.c appears to only be concerned with rsbac_sec_del() for each > > filesystem (ext2, minix, msdoc, vfat..) - or am I totally off base? I > > This is correct. Secure delete is the only thing that is fs dependent, because > I could not get it into the independent code. I might try again, though. Had another look. Please try the attached patch against fs/reiserfs/namei.c for secure delete. Warning: This is untested and might, though unlikely, kill the wrong data. Amon. --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/x-c; name="temp" Content-Transfer-Encoding: base64 Content-Description: reiserfs and secdel Content-Disposition: attachment; filename="temp" LS0tIG5hbWVpLmN+CUZyaSBBcHIgMjcgMjM6MTg6MDggMjAwMQorKysgbmFtZWkuYwlNb24gTWF5 ICA3IDE0OjM1OjU2IDIwMDEKQEAgLTE5LDYgKzE5LDExIEBACiAjaW5jbHVkZSA8bGludXgvcmVp c2VyZnNfZnMuaD4KICNpbmNsdWRlIDxsaW51eC9zbXBfbG9jay5oPgogCisvKiBSU0JBQyAqLwor I2lmZGVmIENPTkZJR19SU0JBQ19TRUNERUwKKyNpbmNsdWRlIDxyc2JhYy9hZGYuaD4KKyNlbmRp ZgorCiAjZWxzZQogCiAjaW5jbHVkZSAibm9rZXJuZWwuaCIKQEAgLTgyNSw2ICs4MzAsMTIgQEAK ICAgICByZXR2YWwgPSByZWlzZXJmc19jdXRfZnJvbV9pdGVtICgmdGgsICZwYXRoLCAmKGRlLmRl X2VudHJ5X2tleSksIGRpciwgTlVMTCwgMCk7CiAgICAgaWYgKHJldHZhbCA8IDApCiAJZ290byBl bmRfdW5saW5rOworCisgICAgLyogUlNCQUMgKi8KKyAgICAjaWZkZWYgQ09ORklHX1JTQkFDX1NF Q0RFTAorICAgIGlmKGlub2RlLT5pX25saW5rID09IDEpCisgICAgICByc2JhY19zZWNfZGVsKGRl bnRyeSk7CisgICAgI2VuZGlmCiAKICAgICBpbm9kZS0+aV9ubGluay0tOwogICAgIGlub2RlLT5p X2N0aW1lID0gQ1VSUkVOVF9USU1FOwo= --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD-- - To unsubscribe from the rsbac list, send a mail to majordomo@rsbac.org with unsubscribe rsbac as single line in the body.
Next Article (by Subject): RSBAC&reiserfs Stanislav Ievlev
Previous Article (by Subject): Re: RSBAC working with SGI XFS 1.0 Amon Ott
Top of Thread: RSBAC working with SGI XFS 1.0 K Mitchell Russell
Articles sorted by: [Date]
[Author]
[Subject]