mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
46 lines
808 B
C
46 lines
808 B
C
|
#include <afs/param.h>
|
||
|
#include <rx/xdr.h>
|
||
|
#include <sys/ioctl.h>
|
||
|
#include <sys/socket.h>
|
||
|
#include <netdb.h>
|
||
|
#include <errno.h>
|
||
|
#include <stdio.h>
|
||
|
#include <netinet/in.h>
|
||
|
#include <sys/stat.h>
|
||
|
#include <afs/stds.h>
|
||
|
#include <afs/vice.h>
|
||
|
#include <afs/venus.h>
|
||
|
#ifdef AFS_AIX32_ENV
|
||
|
#include <signal.h>
|
||
|
#endif
|
||
|
#undef VIRTUE
|
||
|
#undef VICE
|
||
|
#include "afs/prs_fs.h"
|
||
|
#include <afs/afsint.h>
|
||
|
#include <afs/auth.h>
|
||
|
#include <afs/cellconfig.h>
|
||
|
#include <afs/cmd.h>
|
||
|
#include <strings.h>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
#include "AFS_component_version_number.c"
|
||
|
|
||
|
main(argc, argv)
|
||
|
int argc;
|
||
|
char **argv; {
|
||
|
afs_int32 code=0;
|
||
|
struct ViceIoctl blob;
|
||
|
|
||
|
blob.in = 0;
|
||
|
blob.out = 0;
|
||
|
blob.in_size = 0;
|
||
|
blob.out_size = 0;
|
||
|
code = pioctl(0, VIOC_GCPAGS, &blob, 1);
|
||
|
if(code)
|
||
|
perror("disable gcpags failed");
|
||
|
|
||
|
exit(code);
|
||
|
}
|