The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Utility to examine semaphores used to provide exclusive running rights for a process. More...
#include <freeradius-devel/autoconf.h>
#include <freeradius-devel/util/perm.h>
#include <freeradius-devel/util/sem.h>
#include <freeradius-devel/util/value.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/strerror.h>
#include <ctype.h>
#include <stdarg.h>
#include <stdbool.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <assert.h>
Go to the source code of this file.
Macros | |
#define | EXIT_WITH_FAILURE exit(EXIT_FAILURE) |
#define | EXIT_WITH_SUCCESS exit(EXIT_SUCCESS) |
#define | INFO(fmt, ...) fprintf(stdout, fmt "\n", ## __VA_ARGS__) |
Enumerations | |
enum | fr_radlock_action_t { RADLOCK_INVALID = 0 , RADLOCK_LOCK , RADLOCK_TRYLOCK , RADLOCK_UNLOCK , RADLOCK_REMOVE , RADLOCK_INFO , RADLOCK_PERM } |
Functions | |
int | main (int argc, char *argv[]) |
static NEVER_RETURNS void | usage (int ret) |
Variables | |
static fr_table_num_sorted_t const | radlock_action_table [] |
static size_t | radlock_action_table_len = NUM_ELEMENTS(radlock_action_table) |
Utility to examine semaphores used to provide exclusive running rights for a process.
Definition in file radlock.c.
enum fr_radlock_action_t |
|
static |
|
static |
|
static |