freeradius-client sequence file replacement

Alex Massover alex at
Mon Feb 1 11:11:33 CET 2010


I made a patch that adds fast locking mechanisms instead of seq file for freeradius-client.

This patch is based on putting the sequence number in the shared memory. Two approaches used to do a mutual exclusion for shared memory:
a) GCC builtin atomic memory access (only on Intel)
b) POSIX named semaphore
c) If nothing of the above available it fallbacks to a sequence file locks.

Originally I did it against radiusclient-ng, but looks that freeradius-client is a correct place. The patch works for freeradius-client 1.1.6 as well.

Here's a patch and more detailed description:

Best Regards,
Alex Massover
Jajah Inc.

This mail was sent via Mail-SeCure System.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Devel mailing list