Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
9a1df62d
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
9a1df62d
编写于
9月 18, 2015
作者:
A
asaha
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
9aee0c06
bc973d29
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
6 deletion
+8
-6
.hgtags
.hgtags
+2
-0
src/os/linux/vm/perfMemory_linux.cpp
src/os/linux/vm/perfMemory_linux.cpp
+3
-3
src/os/solaris/vm/perfMemory_solaris.cpp
src/os/solaris/vm/perfMemory_solaris.cpp
+3
-3
未找到文件。
.hgtags
浏览文件 @
9a1df62d
...
...
@@ -723,6 +723,8 @@ fb157d537278cda4150740e27bb57cd8694e15bf jdk8u60-b24
6b4ea38c01bd9cc86d0aa8926f4855ff6ee365ee jdk8u60-b25
6a6759372807f49aa7a66ddc36aa91d6648d2097 jdk8u60-b26
10ad4b9d79f98fa3545c88a342a68a80d198b808 jdk8u60-b27
1f646daf0d673b0925da1ed7809d6bd097388ece jdk8u60-b31
9bf9a733246b5e89986233f42a8e00c798ca703f jdk8u60-b32
0219ab69f00782e5c49687e2fa75138a7ffddea1 jdk8u52-b06
9b6f44853eed8caba935915c7e710c546b205c8e jdk8u52-b07
0219ab69f00782e5c49687e2fa75138a7ffddea1 jdk8u65-b00
...
...
src/os/linux/vm/perfMemory_linux.cpp
浏览文件 @
9a1df62d
...
...
@@ -217,9 +217,9 @@ static bool is_statbuf_secure(struct stat *statp) {
//
return
false
;
}
//
S
ee if the uid of the directory matches the effective uid of the process.
//
if
(
statp
->
st_uid
!=
geteuid
(
))
{
//
If user is not root then s
ee if the uid of the directory matches the effective uid of the process.
uid_t
euid
=
geteuid
();
if
(
(
euid
!=
0
)
&&
(
statp
->
st_uid
!=
euid
))
{
// The directory was not created by this user, declare it insecure.
//
return
false
;
...
...
src/os/solaris/vm/perfMemory_solaris.cpp
浏览文件 @
9a1df62d
...
...
@@ -219,9 +219,9 @@ static bool is_statbuf_secure(struct stat *statp) {
//
return
false
;
}
//
S
ee if the uid of the directory matches the effective uid of the process.
//
if
(
statp
->
st_uid
!=
geteuid
(
))
{
//
If user is not root then s
ee if the uid of the directory matches the effective uid of the process.
uid_t
euid
=
geteuid
();
if
(
(
euid
!=
0
)
&&
(
statp
->
st_uid
!=
euid
))
{
// The directory was not created by this user, declare it insecure.
//
return
false
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录