From: ao@morpork.shnet.org (A. Ott)
Subject: Bug in 1.0.9a-pre2 and possibly others
Date: 13 Nov 1999 18:27:00 +0100
Next Article (by Date): Re: 1.0.9a-pre2 nearly finished "Paul D. Robertson"
Previous Article (by Date): Re: 1.0.9a-pre2 nearly finished ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date]
[Author]
[Subject]
Hi all! Sorry to announce another bug in 1.0.9 to 1.0.9a-pre2 in the ACL data structures code: The 10 FD ACL lists are only read until the first is missing, what usually happens with few ACL entries in the system. This results in missing ACL entries after reboot. The following patch should be applied to acl_data_structures.c: --- acl_data_structures.c~ Tue Oct 19 11:34:29 1999 +++ acl_data_structures.c Sat Nov 13 18:14:25 1999 @@ -187,10 +187,14 @@ strcat(name, inttostr(number,file_no) ); /* open file */ - if ((err = rsbac_read_open (name, - &file, - kdev) )) - return(err); + if ((tmperr = rsbac_read_open (name, + &file, + kdev) )) + { + if(!err || (tmperr != RSBAC_ENOTFOUND)) + err=tmperr; + continue; + } /* OK, now we can start reading */ /* There is a read function for this file, so read as many items */ -- ## CrossPoint v3.11 ## - To unsubscribe from the rsbac list, send a mail to majordomo@morpork.shnet.org with unsubscribe rsbac as single line in the body.
Next Article (by Date): Re: 1.0.9a-pre2 nearly finished "Paul D. Robertson"
Previous Article (by Date): Re: 1.0.9a-pre2 nearly finished ao@morpork.shnet.org (A. Ott)
Articles sorted by: [Date]
[Author]
[Subject]