2014-02-11 23:14 GMT+01:00 Ronny Chevalier <[email protected]>: > 2014-02-04 Lennart Poettering <[email protected]>: >> So yeah, I figure we should continue with this logic, and of course >> probably document it... > So I sent the new patch, it works the same way. > > But I did not use an integer array like you said. I used a set to > store the syscalls number and a strv for the syscalls name. Then I > sort the strv to create the string which will be exposed. > I think it gives less code and more readable code than managing an > array, and the overhead of sorting a strv instead of an integer array > is quite small. > > I also added a paragraph in the documentation since it did not > mentioned how the multiple occurrences of SystemCallFilter are merged. > > I will send a new version for the patch containing the tests too. > Well, I thought that I have tested enough use cases but I forgot an obvious one. So something is not working, but I did not find why yet. Sorry for the disturbance
>> >> Lennart >> >> -- >> Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
