vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / kernel / file_systems / nfs4 / idmapper / IdMapper.h
blobbf0707ea1eec9425884a413879b7470356de6c33
1 /*
2 * Copyright 2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Paweł Dziepak, pdziepak@quarnos.org
7 */
8 #ifndef IDMAPPER_H
9 #define IDMAPPER_H
12 enum MsgCode {
13 MsgError,
14 MsgReply,
15 MsgNameToUID,
16 MsgUIDToName,
17 MsgNameToGID,
18 MsgGIDToName
21 static const char* kRequestPortName = "nfs4idmap_request";
22 static const char* kReplyPortName = "nfs4idmap_reply";
25 #endif // IDMAPPER_H