mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Add nfs_proc_symlink, nfs_proc_link, nfs_proc_sattr.
This commit is contained in:
parent
8b28b73124
commit
b93691b15c
5 changed files with 311 additions and 5 deletions
|
@ -2157,6 +2157,18 @@ export {
|
|||
rpc_auxgids: index_vec;
|
||||
};
|
||||
|
||||
## NFS file attributes. Field names are based on RFC 1813.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_sattr
|
||||
type sattr_t: record {
|
||||
mode: count &optional; ##< Mode
|
||||
uid: count &optional; ##< User ID.
|
||||
gid: count &optional; ##< Group ID.
|
||||
size: count &optional; ##< Size.
|
||||
atime: time_how_t &optional; ##< Time of last access.
|
||||
mtime: time_how_t &optional; ##< Time of last modification.
|
||||
};
|
||||
|
||||
## NFS file attributes. Field names are based on RFC 1813.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_getattr
|
||||
|
@ -2177,6 +2189,14 @@ export {
|
|||
ctime: time; ##< Time of creation.
|
||||
};
|
||||
|
||||
## NFS symlinkdata attributes. Field names are based on RFC 1813
|
||||
##
|
||||
## .. bro:see:: nfs_proc_symlink
|
||||
type symlinkdata_t: record {
|
||||
symlink_attributes: sattr_t; ##< The initial attributes for the symbolic link
|
||||
nfspath: string &optional; ##< The string containing the symbolic link data.
|
||||
};
|
||||
|
||||
## NFS *readdir* arguments.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_readdir
|
||||
|
@ -2195,6 +2215,30 @@ export {
|
|||
dst_fname : string;
|
||||
};
|
||||
|
||||
## NFS *symlink* arguments.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_symlink
|
||||
type symlinkargs_t: record {
|
||||
link : diropargs_t; ##< The location of the link to be created.
|
||||
symlinkdata: symlinkdata_t; ##< The symbolic link to be created.
|
||||
};
|
||||
|
||||
## NFS *link* arguments.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_link
|
||||
type linkargs_t: record {
|
||||
fh : string; ##< The file handle for the existing file system object.
|
||||
link : diropargs_t; ##< The location of the link to be created.
|
||||
};
|
||||
|
||||
## NFS *sattr* arguments.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_sattr
|
||||
type sattrargs_t: record {
|
||||
fh : string; ##< The file handle for the existing file system object.
|
||||
new_attributes: sattr_t; ##< The new attributes for the file.
|
||||
};
|
||||
|
||||
## NFS lookup reply. If the lookup failed, *dir_attr* may be set. If the
|
||||
## lookup succeeded, *fh* is always set and *obj_attr* and *dir_attr*
|
||||
## may be set.
|
||||
|
@ -2253,6 +2297,23 @@ export {
|
|||
mtime: time; ##< Modification time.
|
||||
};
|
||||
|
||||
## NFS *link* reply.
|
||||
##
|
||||
## .. bro:see:: nfs_proc_link
|
||||
type link_reply_t: record {
|
||||
post_attr: fattr_t &optional; ##< Optional post-operation attributes of the file system object identified by file
|
||||
preattr: wcc_attr_t &optional; ##< Optional attributes associated w/ file.
|
||||
postattr: fattr_t &optional; ##< Optional attributes associated w/ file.
|
||||
};
|
||||
|
||||
## NFS *sattr* reply. If the request fails, *pre|post* attr may be set.
|
||||
## If the request succeeds, *pre|post* attr are set.
|
||||
##
|
||||
type sattr_reply_t: record {
|
||||
dir_pre_attr: wcc_attr_t &optional; ##< Optional attributes associated w/ dir.
|
||||
dir_post_attr: fattr_t &optional; ##< Optional attributes associated w/ dir.
|
||||
};
|
||||
|
||||
## NFS *write* reply. If the request fails, *pre|post* attr may be set.
|
||||
## If the request succeeds, *pre|post* attr may be set and all other
|
||||
## fields are set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue