Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d554fe25
Commit
d554fe25
authored
Mar 10, 2005
by
Trond Myklebust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RPCSEC_GSS: Misc little cleanups.
Signed-off-by:
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
parent
a0c54707
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
include/linux/sunrpc/gss_api.h
include/linux/sunrpc/gss_api.h
+1
-3
net/sunrpc/auth_gss/auth_gss.c
net/sunrpc/auth_gss/auth_gss.c
+1
-3
net/sunrpc/auth_gss/gss_mech_switch.c
net/sunrpc/auth_gss/gss_mech_switch.c
+1
-1
No files found.
include/linux/sunrpc/gss_api.h
View file @
d554fe25
...
...
@@ -51,8 +51,6 @@ u32 gss_verify_mic(
u32
gss_delete_sec_context
(
struct
gss_ctx
**
ctx_id
);
struct
gss_api_mech
*
gss_mech_get_by_name
(
char
*
name
);
struct
gss_api_mech
*
gss_mech_get_by_pseudoflavor
(
u32
pseudoflavor
);
u32
gss_pseudoflavor_to_service
(
struct
gss_api_mech
*
,
u32
pseudoflavor
);
char
*
gss_service_to_auth_domain_name
(
struct
gss_api_mech
*
,
u32
service
);
...
...
@@ -107,7 +105,7 @@ void gss_mech_unregister(struct gss_api_mech *);
struct
gss_api_mech
*
gss_mech_get_by_OID
(
struct
xdr_netobj
*
);
/* Returns a reference to a mechanism, given a name like "krb5" etc. */
struct
gss_api_mech
*
gss_mech_get_by_name
(
char
*
);
struct
gss_api_mech
*
gss_mech_get_by_name
(
c
onst
c
har
*
);
/* Similar, but get by pseudoflavor. */
struct
gss_api_mech
*
gss_mech_get_by_pseudoflavor
(
u32
);
...
...
net/sunrpc/auth_gss/auth_gss.c
View file @
d554fe25
...
...
@@ -440,8 +440,6 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
{
const
void
*
p
,
*
end
;
void
*
buf
;
struct
inode
*
inode
=
filp
->
f_dentry
->
d_inode
;
struct
rpc_inode
*
rpci
=
RPC_I
(
inode
);
struct
rpc_clnt
*
clnt
;
struct
gss_auth
*
gss_auth
;
struct
auth_cred
acred
=
{
0
};
...
...
@@ -458,7 +456,7 @@ gss_pipe_downcall(struct file *filp, const char __user *src, size_t mlen)
if
(
!
buf
)
goto
out
;
clnt
=
rpci
->
private
;
clnt
=
RPC_I
(
filp
->
f_dentry
->
d_inode
)
->
private
;
err
=
-
EFAULT
;
if
(
copy_from_user
(
buf
,
src
,
mlen
))
goto
err
;
...
...
net/sunrpc/auth_gss/gss_mech_switch.c
View file @
d554fe25
...
...
@@ -143,7 +143,7 @@ gss_mech_get(struct gss_api_mech *gm)
EXPORT_SYMBOL
(
gss_mech_get
);
struct
gss_api_mech
*
gss_mech_get_by_name
(
char
*
name
)
gss_mech_get_by_name
(
c
onst
c
har
*
name
)
{
struct
gss_api_mech
*
pos
,
*
gm
=
NULL
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment