Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
cf70a6f2
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
cf70a6f2
编写于
2月 20, 2006
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fixes.b8' of
git://git.kernel.org/pub/scm/linux/kernel/git/viro/bird
上级
0b1fc9b8
ad6b97fc
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
20 addition
and
27 deletion
+20
-27
arch/m68k/kernel/process.c
arch/m68k/kernel/process.c
+3
-0
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.c
+1
-9
fs/proc/inode.c
fs/proc/inode.c
+0
-4
fs/proc/root.c
fs/proc/root.c
+9
-8
include/asm-m68k/irq.h
include/asm-m68k/irq.h
+1
-1
include/asm-m68k/raw_io.h
include/asm-m68k/raw_io.h
+1
-0
kernel/auditsc.c
kernel/auditsc.c
+3
-3
lib/iomap_copy.c
lib/iomap_copy.c
+1
-1
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_tunnel.c
+1
-1
未找到文件。
arch/m68k/kernel/process.c
浏览文件 @
cf70a6f2
...
...
@@ -129,6 +129,9 @@ void machine_power_off(void)
for
(;;);
}
void
(
*
pm_power_off
)(
void
)
=
machine_power_off
;
EXPORT_SYMBOL
(
pm_power_off
);
void
show_regs
(
struct
pt_regs
*
regs
)
{
printk
(
"
\n
"
);
...
...
drivers/ieee1394/sbp2.c
浏览文件 @
cf70a6f2
...
...
@@ -2082,9 +2082,7 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id,
SBP2_DEBUG
(
"sbp2_check_sbp2_response"
);
switch
(
SCpnt
->
cmnd
[
0
])
{
case
INQUIRY
:
if
(
SCpnt
->
cmnd
[
0
]
==
INQUIRY
&&
(
SCpnt
->
cmnd
[
1
]
&
3
)
==
0
)
{
/*
* Make sure data length is ok. Minimum length is 36 bytes
*/
...
...
@@ -2097,13 +2095,7 @@ static void sbp2_check_sbp2_response(struct scsi_id_instance_data *scsi_id,
*/
scsi_buf
[
2
]
|=
2
;
scsi_buf
[
3
]
=
(
scsi_buf
[
3
]
&
0xf0
)
|
2
;
break
;
default:
break
;
}
return
;
}
/*
...
...
fs/proc/inode.c
浏览文件 @
cf70a6f2
...
...
@@ -204,10 +204,6 @@ int proc_fill_super(struct super_block *s, void *data, int silent)
root_inode
=
proc_get_inode
(
s
,
PROC_ROOT_INO
,
&
proc_root
);
if
(
!
root_inode
)
goto
out_no_root
;
/*
* Fixup the root inode's nlink value
*/
root_inode
->
i_nlink
+=
nr_processes
();
root_inode
->
i_uid
=
0
;
root_inode
->
i_gid
=
0
;
s
->
s_root
=
d_alloc_root
(
root_inode
);
...
...
fs/proc/root.c
浏览文件 @
cf70a6f2
...
...
@@ -80,16 +80,16 @@ void __init proc_root_init(void)
proc_bus
=
proc_mkdir
(
"bus"
,
NULL
);
}
static
struct
dentry
*
proc_root_lookup
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
static
int
proc_root_getattr
(
struct
vfsmount
*
mnt
,
struct
dentry
*
dentry
,
struct
kstat
*
stat
)
{
/*
* nr_threads is actually protected by the tasklist_lock;
* however, it's conventional to do reads, especially for
* reporting, without any locking whatsoever.
*/
if
(
dir
->
i_ino
==
PROC_ROOT_INO
)
/* check for safety... */
dir
->
i_nlink
=
proc_root
.
nlink
+
nr_threads
;
generic_fillattr
(
dentry
->
d_inode
,
stat
);
stat
->
nlink
=
proc_root
.
nlink
+
nr_processes
();
return
0
;
}
static
struct
dentry
*
proc_root_lookup
(
struct
inode
*
dir
,
struct
dentry
*
dentry
,
struct
nameidata
*
nd
)
{
if
(
!
proc_lookup
(
dir
,
dentry
,
nd
))
{
return
NULL
;
}
...
...
@@ -134,6 +134,7 @@ static struct file_operations proc_root_operations = {
*/
static
struct
inode_operations
proc_root_inode_operations
=
{
.
lookup
=
proc_root_lookup
,
.
getattr
=
proc_root_getattr
,
};
/*
...
...
include/asm-m68k/irq.h
浏览文件 @
cf70a6f2
...
...
@@ -79,7 +79,7 @@ static __inline__ int irq_canonicalize(int irq)
extern
void
(
*
enable_irq
)(
unsigned
int
);
extern
void
(
*
disable_irq
)(
unsigned
int
);
#define
enable_irq_nosync en
able_irq
#define
disable_irq_nosync dis
able_irq
struct
pt_regs
;
...
...
include/asm-m68k/raw_io.h
浏览文件 @
cf70a6f2
...
...
@@ -336,6 +336,7 @@ static inline void raw_outsw_swapw(volatile u16 __iomem *port, const u16 *buf,
:
"d0"
,
"a0"
,
"a1"
,
"d6"
);
}
#define __raw_writel raw_outl
#endif
/* __KERNEL__ */
...
...
kernel/auditsc.c
浏览文件 @
cf70a6f2
...
...
@@ -841,7 +841,7 @@ static void audit_log_exit(struct audit_context *context, gfp_t gfp_mask)
for
(
aux
=
context
->
aux
;
aux
;
aux
=
aux
->
next
)
{
ab
=
audit_log_start
(
context
,
GFP_KERNEL
,
aux
->
type
);
ab
=
audit_log_start
(
context
,
gfp_mask
,
aux
->
type
);
if
(
!
ab
)
continue
;
/* audit_panic has been called */
...
...
@@ -878,14 +878,14 @@ static void audit_log_exit(struct audit_context *context, gfp_t gfp_mask)
}
if
(
context
->
pwd
&&
context
->
pwdmnt
)
{
ab
=
audit_log_start
(
context
,
GFP_KERNEL
,
AUDIT_CWD
);
ab
=
audit_log_start
(
context
,
gfp_mask
,
AUDIT_CWD
);
if
(
ab
)
{
audit_log_d_path
(
ab
,
"cwd="
,
context
->
pwd
,
context
->
pwdmnt
);
audit_log_end
(
ab
);
}
}
for
(
i
=
0
;
i
<
context
->
name_count
;
i
++
)
{
ab
=
audit_log_start
(
context
,
GFP_KERNEL
,
AUDIT_PATH
);
ab
=
audit_log_start
(
context
,
gfp_mask
,
AUDIT_PATH
);
if
(
!
ab
)
continue
;
/* audit_panic has been called */
...
...
lib/iomap_copy.c
浏览文件 @
cf70a6f2
...
...
@@ -15,8 +15,8 @@
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <linux/io.h>
#include <linux/module.h>
#include <linux/io.h>
/**
* __iowrite32_copy - copy data to MMIO space, in 32-bit units
...
...
net/ipv6/ip6_tunnel.c
浏览文件 @
cf70a6f2
...
...
@@ -458,7 +458,7 @@ ip6ip6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
mtu
=
IPV6_MIN_MTU
;
t
->
dev
->
mtu
=
mtu
;
if
((
len
=
sizeof
(
*
ipv6h
)
+
ipv6h
->
payload_len
)
>
mtu
)
{
if
((
len
=
sizeof
(
*
ipv6h
)
+
ntohs
(
ipv6h
->
payload_len
)
)
>
mtu
)
{
rel_type
=
ICMPV6_PKT_TOOBIG
;
rel_code
=
0
;
rel_info
=
mtu
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录