Re: [PATCH iptables] iptables: use IPC semaphore instead of abstract unix sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 2015-01-19 14:06, Pablo Neira Ayuso wrote:
>
>I think the best solution is to use to flock() as others do but then
>we need a writable filesystem() which is what Phil was trying to skip.

If semaphores are no longer on the table, using shm_open for an
flockable fd seems like an option.
The /dev/shm directory implicitly used for that should be there in
a normal system, so as to support POSIX shm/sem in the first place.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux