summaryrefslogtreecommitdiff
path: root/platform/sysroot/usr/include/linux/nfs_idmap.h
blob: 01d30c0e6190a161e81608443d8ec9b11492efaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * This file is auto-generated. Modifications will be lost.
 *
 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
 * for more information.
 */
#ifndef _UAPINFS_IDMAP_H
#define _UAPINFS_IDMAP_H
#include <linux/types.h>
#define IDMAP_NAMESZ 128
#define IDMAP_TYPE_USER 0
#define IDMAP_TYPE_GROUP 1
#define IDMAP_CONV_IDTONAME 0
#define IDMAP_CONV_NAMETOID 1
#define IDMAP_STATUS_INVALIDMSG 0x01
#define IDMAP_STATUS_AGAIN 0x02
#define IDMAP_STATUS_LOOKUPFAIL 0x04
#define IDMAP_STATUS_SUCCESS 0x08
struct idmap_msg {
  __u8 im_type;
  __u8 im_conv;
  char im_name[IDMAP_NAMESZ];
  __u32 im_id;
  __u8 im_status;
};
#endif