Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
7bd88269
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 3 年多
通知
13
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
7bd88269
编写于
12月 23, 2008
作者:
T
Trond Myklebust
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
SUNRPC: rpcsec_gss modules should not be used by out-of-tree code
Signed-off-by:
N
Trond Myklebust
<
Trond.Myklebust@netapp.com
>
上级
468039ee
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
14 addition
and
14 deletion
+14
-14
net/sunrpc/auth_gss/gss_generic_token.c
net/sunrpc/auth_gss/gss_generic_token.c
+3
-3
net/sunrpc/auth_gss/gss_mech_switch.c
net/sunrpc/auth_gss/gss_mech_switch.c
+9
-9
net/sunrpc/auth_gss/svcauth_gss.c
net/sunrpc/auth_gss/svcauth_gss.c
+2
-2
未找到文件。
net/sunrpc/auth_gss/gss_generic_token.c
浏览文件 @
7bd88269
...
...
@@ -152,7 +152,7 @@ g_token_size(struct xdr_netobj *mech, unsigned int body_size)
return
(
1
+
der_length_size
(
body_size
)
+
body_size
);
}
EXPORT_SYMBOL
(
g_token_size
);
EXPORT_SYMBOL
_GPL
(
g_token_size
);
/* fills in a buffer with the token header. The buffer is assumed to
be the right size. buf is advanced past the token header */
...
...
@@ -167,7 +167,7 @@ g_make_token_header(struct xdr_netobj *mech, int body_size, unsigned char **buf)
TWRITE_STR
(
*
buf
,
mech
->
data
,
((
int
)
mech
->
len
));
}
EXPORT_SYMBOL
(
g_make_token_header
);
EXPORT_SYMBOL
_GPL
(
g_make_token_header
);
/*
* Given a buffer containing a token, reads and verifies the token,
...
...
@@ -231,5 +231,5 @@ g_verify_token_header(struct xdr_netobj *mech, int *body_size,
return
(
ret
);
}
EXPORT_SYMBOL
(
g_verify_token_header
);
EXPORT_SYMBOL
_GPL
(
g_verify_token_header
);
net/sunrpc/auth_gss/gss_mech_switch.c
浏览文件 @
7bd88269
...
...
@@ -117,7 +117,7 @@ gss_mech_register(struct gss_api_mech *gm)
return
0
;
}
EXPORT_SYMBOL
(
gss_mech_register
);
EXPORT_SYMBOL
_GPL
(
gss_mech_register
);
void
gss_mech_unregister
(
struct
gss_api_mech
*
gm
)
...
...
@@ -129,7 +129,7 @@ gss_mech_unregister(struct gss_api_mech *gm)
gss_mech_free
(
gm
);
}
EXPORT_SYMBOL
(
gss_mech_unregister
);
EXPORT_SYMBOL
_GPL
(
gss_mech_unregister
);
struct
gss_api_mech
*
gss_mech_get
(
struct
gss_api_mech
*
gm
)
...
...
@@ -138,7 +138,7 @@ gss_mech_get(struct gss_api_mech *gm)
return
gm
;
}
EXPORT_SYMBOL
(
gss_mech_get
);
EXPORT_SYMBOL
_GPL
(
gss_mech_get
);
struct
gss_api_mech
*
gss_mech_get_by_name
(
const
char
*
name
)
...
...
@@ -158,7 +158,7 @@ gss_mech_get_by_name(const char *name)
}
EXPORT_SYMBOL
(
gss_mech_get_by_name
);
EXPORT_SYMBOL
_GPL
(
gss_mech_get_by_name
);
static
inline
int
mech_supports_pseudoflavor
(
struct
gss_api_mech
*
gm
,
u32
pseudoflavor
)
...
...
@@ -191,7 +191,7 @@ gss_mech_get_by_pseudoflavor(u32 pseudoflavor)
return
gm
;
}
EXPORT_SYMBOL
(
gss_mech_get_by_pseudoflavor
);
EXPORT_SYMBOL
_GPL
(
gss_mech_get_by_pseudoflavor
);
u32
gss_svc_to_pseudoflavor
(
struct
gss_api_mech
*
gm
,
u32
service
)
...
...
@@ -205,7 +205,7 @@ gss_svc_to_pseudoflavor(struct gss_api_mech *gm, u32 service)
}
return
RPC_AUTH_MAXFLAVOR
;
/* illegal value */
}
EXPORT_SYMBOL
(
gss_svc_to_pseudoflavor
);
EXPORT_SYMBOL
_GPL
(
gss_svc_to_pseudoflavor
);
u32
gss_pseudoflavor_to_service
(
struct
gss_api_mech
*
gm
,
u32
pseudoflavor
)
...
...
@@ -219,7 +219,7 @@ gss_pseudoflavor_to_service(struct gss_api_mech *gm, u32 pseudoflavor)
return
0
;
}
EXPORT_SYMBOL
(
gss_pseudoflavor_to_service
);
EXPORT_SYMBOL
_GPL
(
gss_pseudoflavor_to_service
);
char
*
gss_service_to_auth_domain_name
(
struct
gss_api_mech
*
gm
,
u32
service
)
...
...
@@ -233,7 +233,7 @@ gss_service_to_auth_domain_name(struct gss_api_mech *gm, u32 service)
return
NULL
;
}
EXPORT_SYMBOL
(
gss_service_to_auth_domain_name
);
EXPORT_SYMBOL
_GPL
(
gss_service_to_auth_domain_name
);
void
gss_mech_put
(
struct
gss_api_mech
*
gm
)
...
...
@@ -242,7 +242,7 @@ gss_mech_put(struct gss_api_mech * gm)
module_put
(
gm
->
gm_owner
);
}
EXPORT_SYMBOL
(
gss_mech_put
);
EXPORT_SYMBOL
_GPL
(
gss_mech_put
);
/* The mech could probably be determined from the token instead, but it's just
* as easy for now to pass it in. */
...
...
net/sunrpc/auth_gss/svcauth_gss.c
浏览文件 @
7bd88269
...
...
@@ -746,7 +746,7 @@ u32 svcauth_gss_flavor(struct auth_domain *dom)
return
gd
->
pseudoflavor
;
}
EXPORT_SYMBOL
(
svcauth_gss_flavor
);
EXPORT_SYMBOL
_GPL
(
svcauth_gss_flavor
);
int
svcauth_gss_register_pseudoflavor
(
u32
pseudoflavor
,
char
*
name
)
...
...
@@ -780,7 +780,7 @@ svcauth_gss_register_pseudoflavor(u32 pseudoflavor, char * name)
return
stat
;
}
EXPORT_SYMBOL
(
svcauth_gss_register_pseudoflavor
);
EXPORT_SYMBOL
_GPL
(
svcauth_gss_register_pseudoflavor
);
static
inline
int
read_u32_from_xdr_buf
(
struct
xdr_buf
*
buf
,
int
base
,
u32
*
obj
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录