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 Sunday 2015-01-18 22:13, Pablo Neira Ayuso wrote:

>This patch introduces a semaphore
>index b18022e..80eed2c 100644
>--- a/iptables/xshared.c
>+++ b/iptables/xshared.c
>+static int xtables_check_owner(int semid)
>+{
>+	int ret;
>+	struct semid_ds ds;
>+
>+	ret = semctl(semid, 0, IPC_STAT, &ds);

Is there a particular reason you are not using the POSIX semaphores?
[sem_open/shm_open as per sem_overview(7)].
--
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