Home
last modified time | relevance | path

Searched refs:accmode (Results 1 – 2 of 2) sorted by relevance

/fs/nfsd/
Dnfs4proc.c176 …permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode) in do_open_permission() argument
184 accmode |= NFSD_MAY_READ_IF_EXEC; in do_open_permission()
187 accmode |= NFSD_MAY_READ; in do_open_permission()
189 accmode |= (NFSD_MAY_WRITE | NFSD_MAY_TRUNC); in do_open_permission()
191 accmode |= NFSD_MAY_WRITE; in do_open_permission()
193 status = fh_verify(rqstp, current_fh, S_IFREG, accmode); in do_open_permission()
228 int accmode; in do_open_lookup() local
295 accmode = NFSD_MAY_NOP; in do_open_lookup()
298 accmode |= NFSD_MAY_OWNER_OVERRIDE; in do_open_lookup()
299 status = do_open_permission(rqstp, *resfh, open, accmode); in do_open_lookup()
[all …]
Dvfs.c371 int accmode = NFSD_MAY_SATTR; in nfsd_setattr() local
379 accmode |= NFSD_MAY_WRITE|NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr()
391 accmode |= NFSD_MAY_OWNER_OVERRIDE; in nfsd_setattr()
393 accmode |= NFSD_MAY_WRITE; in nfsd_setattr()
400 err = fh_verify(rqstp, fhp, ftype, accmode); in nfsd_setattr()