Hi all,
In SMACK, some rules are written to a virtual fs file named
"cipso".
Rule format is
label level[/cat[,cat]]
Under high I/O load we don't recieve the whole rule in one shot.
This means that sometimes the write() operation begins from the
middle of the rule. Under some conditions, the first rule _letter_
was only recieved while others were recieved in remaining write()
calls.
Current SMACK versions don't assume fragmented input like above
cases. This means that sometimes bogus rules that does not
represent users' intent got created.
What is the best way to parse a rule in such hard coditions?
Regards,
--
Ahmed S. Darwish
HomePage: http://darwish.07.googlepages.com
Blog: http://darwish-07.blogspot.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]