netatalk  4.6.1
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
T2_Lock_attack.c File Reference
#include "afpcmd.h"
#include "afphelper.h"
#include "testhelper.h"
#include <inttypes.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>

Functions

static int data_fork_path (char *out, size_t outlen, char *sub, char *name)
 
static int kernel_lock_held (char *path, off_t off, off_t len)
 
STATIC void test600 ()
 
STATIC void test603 ()
 
STATIC void test604 ()
 
STATIC void test605 ()
 
STATIC void test620 ()
 
STATIC void test607 ()
 
void T2LockAttack_test ()
 

Variables

static char temp [MAXPATHLEN]
 

Function Documentation

◆ data_fork_path()

static int data_fork_path ( char *  out,
size_t  outlen,
char *  sub,
char *  name 
)
static

◆ kernel_lock_held()

static int kernel_lock_held ( char *  path,
off_t  off,
off_t  len 
)
static

◆ T2LockAttack_test()

void T2LockAttack_test ( )

◆ test600()

STATIC void test600 ( )

◆ test603()

STATIC void test603 ( )

◆ test604()

STATIC void test604 ( )

◆ test605()

STATIC void test605 ( )

◆ test607()

STATIC void test607 ( )

◆ test620()

STATIC void test620 ( )

Variable Documentation

◆ temp

char temp[MAXPATHLEN]
static