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
nexedi
linux
Commits
40ad7a6a
Commit
40ad7a6a
authored
Feb 12, 2006
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC]: sys_newfstatat --> sys_fstatat64
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
e9bb4c99
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
5 deletions
+26
-5
arch/sparc/kernel/systbls.S
arch/sparc/kernel/systbls.S
+1
-1
arch/sparc64/kernel/sys_sparc32.c
arch/sparc64/kernel/sys_sparc32.c
+21
-0
arch/sparc64/kernel/systbls.S
arch/sparc64/kernel/systbls.S
+2
-2
include/asm-sparc/unistd.h
include/asm-sparc/unistd.h
+1
-1
include/asm-sparc64/unistd.h
include/asm-sparc64/unistd.h
+1
-1
No files found.
arch/sparc/kernel/systbls.S
View file @
40ad7a6a
...
...
@@ -76,7 +76,7 @@ sys_call_table:
/*
270
*/
.
long
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
/*
275
*/
.
long
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
long
sys_ni_syscall
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
sys_openat
/*
285
*/
.
long
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_
newfstatat
/*
285
*/
.
long
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_
fstatat64
/*
290
*/
.
long
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
/*
295
*/
.
long
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
...
...
arch/sparc64/kernel/sys_sparc32.c
View file @
40ad7a6a
...
...
@@ -428,6 +428,27 @@ asmlinkage long compat_sys_fstat64(unsigned int fd,
return
error
;
}
asmlinkage
long
compat_sys_fstatat64
(
unsigned
int
dfd
,
char
__user
*
filename
,
struct
compat_stat64
__user
*
statbuf
,
int
flag
)
{
struct
kstat
stat
;
int
error
=
-
EINVAL
;
if
((
flag
&
~
AT_SYMLINK_NOFOLLOW
)
!=
0
)
goto
out
;
if
(
flag
&
AT_SYMLINK_NOFOLLOW
)
error
=
vfs_lstat_fd
(
dfd
,
filename
,
&
stat
);
else
error
=
vfs_stat_fd
(
dfd
,
filename
,
&
stat
);
if
(
!
error
)
error
=
cp_compat_stat64
(
&
stat
,
statbuf
);
out:
return
error
;
}
asmlinkage
long
compat_sys_sysfs
(
int
option
,
u32
arg1
,
u32
arg2
)
{
return
sys_sysfs
(
option
,
arg1
,
arg2
);
...
...
arch/sparc64/kernel/systbls.S
View file @
40ad7a6a
...
...
@@ -77,7 +77,7 @@ sys_call_table32:
/*
270
*/
.
word
sys32_io_submit
,
sys_io_cancel
,
compat_sys_io_getevents
,
sys32_mq_open
,
sys_mq_unlink
.
word
compat_sys_mq_timedsend
,
compat_sys_mq_timedreceive
,
compat_sys_mq_notify
,
compat_sys_mq_getsetattr
,
compat_sys_waitid
/*
280
*/
.
word
sys_ni_syscall
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
compat_sys_openat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
compat_sys_futimesat
,
compat_sys_
newfstatat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
compat_sys_futimesat
,
compat_sys_
fstatat64
/*
285
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
.
word
sys_fchmodat
,
sys_faccessat
,
compat_sys_pselect6
,
compat_sys_ppoll
,
sys_unshare
...
...
@@ -146,7 +146,7 @@ sys_call_table:
/*
270
*/
.
word
sys_io_submit
,
sys_io_cancel
,
sys_io_getevents
,
sys_mq_open
,
sys_mq_unlink
.
word
sys_mq_timedsend
,
sys_mq_timedreceive
,
sys_mq_notify
,
sys_mq_getsetattr
,
sys_waitid
/*
280
*/
.
word
sys_nis_syscall
,
sys_add_key
,
sys_request_key
,
sys_keyctl
,
sys_openat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_
newfstatat
.
word
sys_mkdirat
,
sys_mknodat
,
sys_fchownat
,
sys_futimesat
,
sys_
fstatat64
/*
285
*/
.
word
sys_unlinkat
,
sys_renameat
,
sys_linkat
,
sys_symlinkat
,
sys_readlinkat
.
word
sys_fchmodat
,
sys_faccessat
,
sys_pselect6
,
sys_ppoll
,
sys_unshare
...
...
include/asm-sparc/unistd.h
View file @
40ad7a6a
...
...
@@ -305,7 +305,7 @@
#define __NR_mknodat 286
#define __NR_fchownat 287
#define __NR_futimesat 288
#define __NR_
newfstatat
289
#define __NR_
fstatat64
289
#define __NR_unlinkat 290
#define __NR_renameat 291
#define __NR_linkat 292
...
...
include/asm-sparc64/unistd.h
View file @
40ad7a6a
...
...
@@ -307,7 +307,7 @@
#define __NR_mknodat 286
#define __NR_fchownat 287
#define __NR_futimesat 288
#define __NR_
newfstatat
289
#define __NR_
fstatat64
289
#define __NR_unlinkat 290
#define __NR_renameat 291
#define __NR_linkat 292
...
...
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