Home
last modified time | relevance | path

Searched refs:securityContext (Results 1 – 11 of 11) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientVolume.cpp76 ClientVolume::Mount(UserSecurityContext* securityContext, Share* share) in Mount() argument
78 if (!securityContext || !share) in Mount()
80 ObjectDeleter<UserSecurityContext> securityContextDeleter(securityContext); in Mount()
83 fSecurityContext = securityContext; in Mount()
96 fSharePermissions = securityContext->GetNodePermissions(volumeID, nodeID); in Mount()
187 ClientVolume::SetSecurityContext(UserSecurityContext* securityContext) in SetSecurityContext() argument
195 fSecurityContext = securityContext; in SetSecurityContext()
H A DNetFSServer.cpp790 SecurityContext* securityContext = new(std::nothrow) SecurityContext; in _LoadSecurityContext() local
791 if (!securityContext) in _LoadSecurityContext()
793 status_t error = securityContext->InitCheck(); in _LoadSecurityContext()
795 delete securityContext; in _LoadSecurityContext()
798 ObjectDeleter<SecurityContext> securityContextDeleter(securityContext); in _LoadSecurityContext()
819 error = securityContext->AddUser(userName, password); in _LoadSecurityContext()
837 error = securityContext->AddShare(shareName, path, &share); in _LoadSecurityContext()
850 User* user = securityContext->FindUser(userName); in _LoadSecurityContext()
879 error = securityContext->SetNodePermissions(share->GetPath(), user, in _LoadSecurityContext()
890 *_securityContext = securityContext; in _LoadSecurityContext()
[all …]
H A DPortConnectionListener.h21 SecurityContext* securityContext,
H A DInsecureConnectionListener.h26 SecurityContext* securityContext,
H A DConnectionListener.h25 SecurityContext* securityContext,
H A DClientVolume.h42 status_t Mount(UserSecurityContext* securityContext,
49 UserSecurityContext* securityContext);
H A DInsecureConnectionListener.cpp104 SecurityContext* securityContext, User** user) in FinishInitialization() argument
H A DPortConnectionListener.cpp107 SecurityContext* securityContext, User** user) in FinishInitialization() argument
H A DNetFSServer.h46 SecurityContext** securityContext);
H A DClientConnection.h38 SecurityContext* securityContext,
H A DClientConnection.cpp195 SecurityContext* securityContext, User* user, in ClientConnection() argument
200 fSecurityContext(securityContext), in ClientConnection()
562 UserSecurityContext* securityContext = NULL; in VisitMountRequest() local
564 securityContext = new(std::nothrow) UserSecurityContext; in VisitMountRequest()
565 if (securityContext) { in VisitMountRequest()
567 securityContext)); in VisitMountRequest()
571 ObjectDeleter<UserSecurityContext> securityContextDeleter(securityContext); in VisitMountRequest()
582 sharePermissions = securityContext->GetNodePermissions( in VisitMountRequest()
596 SET_ERROR(result, volume->Mount(securityContext, share)); in VisitMountRequest()