From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
File main.c is frequently a starting point of debugging or
analysing Qemu code for novice devevelopers, and it would be
nice if it had format as clean as posible. This patch starts
improving its format by removing tabs and trailing
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Not all syscall-specific code segments in main switch statement
in do_syscall() are inclosed in appropriate "#ifdefs". This patch
fixes some of these cases.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@img
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v1 -> v2:
- Improved a comment in the patch about target_semid64_ds.
- Added a patch that fixes TARGET_SIOCATMARK for Mips.
This series fixes several wrong definitions of preprocessor constants and
structures in Qemu
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Structure flock is defined for Mips in a way different from any
other platform. For reference, see Linux kernel source code files:
arch/mips/include/uapi/asm/fcntl.h#L63 (for Mips)
include/uapi/asm-generic/fcntl.h#L195 (for all
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch fixes wrong definition of TARGET_SIOCATMARK for Mips.
The current definition is:
#define SIOCATMARK 0x8905
while the correct definition is:
#define SIOCATMARK TARGET_IOR('s', 7, int)
See Linux kernel
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
For some reason, Qemu's TARGET_F_GETOWN constant for Mips does not
match the correct value of correspondant F_GETOWN. This patch fixes
this problem.
For reference, see Mips' F_GETOWN definition in Linux kernel at
arch/mips/includ
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch corrects target_semid64_ds structure definition for Mips.
See, for example definition of semid64_ds for Mips in Linux kernel:
arch/mips/include/uapi/asm/sembuf.h#L13.
This patch will also fix certain semaphore-relat
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode adjtimex() syscall support.
Syscall adjtimex() reads and optionally sets parameters for a clock
adjustment algorithm used in network synchonization or similar scenarios.
The implementation is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
The implementation is similar to the implementations of statfs(),
fstatfs() and other related sy
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch series adds support for three syscalls to the Qemu user mode.
Each patch fixes certain LTP test failures that occur if LTP tests are
executed in Qemu user mode. This improvement will be in effect for all
platforms sup
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Structure flock is defined for Mips in a way defferent than any other
platform. For reference, see Linux kernel files:
arch/mips/include/uapi/asm/fcntl.h#L63 (for Mips)
include/uapi/asm-generic/fcntl.h#L195 (for all other pla
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This series fixes several wrong definitions of preprocessor constants and
structures in Qemu user mode.
All patches are completely isolated Mips issues.
The serias fixes certain number of LTP test failures, if executed in
Qemu use
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
For some reason, Qemu's TARGET_F_GETOWN constant for Mips does not
match the correct value of correspondant F_GETOWN. This patch fixes
this problem.
For reference, see Mips' F_GETOWN definition in Linux kernel at
arch/mips/includ
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch corrects target_semid64_ds structure definition for Mips.
See, for example definition of semid64_ds for Mips in Linux kernel:
arch/mips/include/uapi/asm/sembuf.h#L13.
This patch will also fix certain semaphore-relat
Original Message
Subject: Re: [Qemu-devel] [PATCH 3/3] linux-user: Fix structure
target_semid64_ds definition for Mips
Date: Monday, August 29, 2016 23:41 CEST
From: Peter Maydell <peter.mayd...@linaro.org>
To: Aleksandar Markovic <aleksandar.marko...@rt-rk.com>
CC:
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode adjtimex() syscall support.
Syscall adjtimex() reads and optionally sets parameters for a clock
adjustment algorithm used in network synchonization or similar scenarios.
The implementation is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There is a duplicate item in strace.list. It is benign, but it
shouldn't be there. It is the only duplicate in strace.list. This
patch removes it.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
If syscalls msgrcv() and msgsnd() fail, they return E2BIG, EACCES,
EAGAIN, EFAULT, EIDRM, EINTR, EINVAL, ENOMEM, or ENOMSG.
By examining negative scenarios of these syscalls for Mips, it was
established that ENOMSG does not have th
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch removes all spaces-related errors (reported by checkpatch.pl)
from linux-user/main.c.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v3->v4:
- rebased to the latest code
- added patch on clock_adjtime() support
- minor commit messages improvements
v2->v3:
- rebased to the latest code
- merged patches on adjtimex(), sysfs(), and
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
The implementation is similar to the implementations of statfs(),
fstatfs() and other related sy
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
File main.c is frequently a starting point of debugging or
analysing Qemu code for novice devevelopers, and it would be
nice if it had format as clean as posible. This patch starts
improving its format by removing tabs and trailing
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There are currently several problems related to syslog() support.
For example, if the second argument "bufp" of target syslog() syscall
is NULL, the current implementation always returns error code EFAULT.
However, NUL
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch removes all braces-related errors (reported by checkpatch.pl)
from linux-user/main.c.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user/
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode clock_adjtime() syscall support.
The implementation is based on invocation of host's clock_adjtime(), and is
very similar to the implementation of adjtimex() syscall support. The main
diff
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
do_socketcall() function in Qemu's syscalls.c is implemented to mirror
corespondant implementation of socketcall() in Linux kernel. (see kernel
source file net/socket.c, definition of socketcall).
However, error codes are
OK, these patches will be removed in v5, which is pending. Thanks.
Aleksandar
From: Peter Maydell [peter.mayd...@linaro.org]
Sent: Wednesday, September 14, 2016 12:15 PM
To: Aleksandar Markovic
Cc: QEMU Developers; Riku Voipio; Petar Jovanovic; Miodrag
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There is a duplicate item in strace.list. It is benign, but it
shouldn't be there. It is the only duplicate in strace.list. This
patch removes it.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
The implementation is similar to the implementations of statfs(),
fstatfs() and other related sy
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode adjtimex() syscall support.
Syscall adjtimex() reads and optionally sets parameters for a clock
adjustment algorithm used in network synchonization or similar scenarios.
The implementation is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v4->v5:
- removed three cleanup patches
v3->v4:
- rebased to the latest code
- added patch on clock_adjtime() support
- minor commit messages improvements
v2->v3:
- rebased to the latest code
-
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There are currently several problems related to syslog() support.
For example, if the second argument "bufp" of target syslog() syscall
is NULL, the current implementation always returns error code EFAULT.
However, NUL
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode clock_adjtime() syscall support.
The implementation is based on invocation of host's clock_adjtime(), and is
very similar to the implementation of adjtimex() syscall support. The main
diff
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
do_socketcall() function in Qemu's syscalls.c is implemented to mirror
corespondant implementation of socketcall() in Linux kernel. (see kernel
source file net/socket.c, definition of socketcall).
However, error codes are
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
If syscalls msgrcv() and msgsnd() fail, they return E2BIG, EACCES,
EAGAIN, EFAULT, EIDRM, EINTR, EINVAL, ENOMEM, or ENOMSG.
By examining negative scenarios of these syscalls for Mips, it was
established that ENOMSG does not have th
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
The function that is changed in this patch is supposed to indicate that
there was certaing argument rearangement related to 64-bit arguments on
32-bit platforms. The background on such rearangements can be found,
for example, in t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch removes all spaces-related errors (reported by checkpatch.pl)
from linux-user/main.c.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode adjtimex() syscall support.
Syscall adjtimex() reads and optionally sets parameters for a clock
adjustment algorithm used in network synchonization or similar scenarios.
The implementation is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
For some reason, Qemu's TARGET_F_GETOWN constant for Mips does not
match the correct value of correspondant F_GETOWN. This patch fixes
this problem.
For reference, see Mips' F_GETOWN definition in Linux kernel at
arch/mips/includ
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
File main.c is frequently a starting point of debugging or
analysing Qemu code for novice devevelopers, and it would be
nice if it had format as clean as posible. This patch starts
improving its format by removing tabs and trailing
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch corrects target_semid64_ds structure definition for Mips.
See, for example definition of semid64_ds for Mips in Linux kernel:
arch/mips/include/uapi/asm/sembuf.h#L13.
This patch will also fix certain semaphore-relat
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There is a duplicate item in strace.list. It is benign, but it
shouldn't be there. It is the only duplicate in strace.list. This
patch removes it.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch fixes wrong definition of TARGET_SIOCATMARK for Mips.
The current definition is:
#define SIOCATMARK 0x8905
while the correct definition is:
#define SIOCATMARK TARGET_IOR('s', 7, int)
See Linux kernel
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
do_socketcall() function in Qemu's syscalls.c is implemented to mirror
corespondant implementation of socketcall() in Linux kernel. (see kernel
source file net/socket.c, definition of socketcall).
However, error codes are
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v4->v5:
- Commit messages improved.
v3->v4:
- Added a patch on agrument rearangement.
v2->v3:
- Minor fixes in the commit messages.
v1->v2:
- Improved a comment in the patch about target_semid64_ds (n
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
The implementation is similar to the implementations of statfs(),
fstatfs() and other related sy
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Structure flock is defined for Mips in a way different from any
other platform. For reference, see Linux kernel source code files:
arch/mips/include/uapi/asm/fcntl.h#L63 (for Mips)
include/uapi/asm-generic/fcntl.h#L195 (for all
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There are currently several problems related to syslog() support.
For example, if the second argument "bufp" of target syslog() syscall
is NULL, the current implementation always returns error code EFAULT.
However, NUL
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
If syscalls msgrcv() and msgsnd() fail, they return E2BIG, EACCES,
EAGAIN, EFAULT, EIDRM, EINTR, EINVAL, ENOMEM, or ENOMSG.
By examining negative scenarios of these syscalls for Mips, it was
established that ENOMSG does not have th
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v2->v3:
- rebased to the latest code
- merged patches on adjtimex(), sysfs(), and ustat() from another series
- added patch on socketcall() support (5/10)
- cleanup patches reorganized
v1->v2:
- im
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch removes all braces-related errors (reported by checkpatch.pl)
from linux-user/main.c.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user/
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v5->v6:
- Corrected two instances of wrong field type in the patch on target_flock.
- Added a patch that corrects handling of EDQUOT error code for Mips.
- Added a patch that adds missing Mips-related items in strace.list
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch fixes wrong definition of TARGET_SIOCATMARK for Mips.
The current definition is:
#define SIOCATMARK 0x8905
while the correct definition is:
#define SIOCATMARK TARGET_IOR('s', 7, int)
See Linux kernel
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
For some reason, Qemu's TARGET_F_GETOWN constant for Mips does not
match the correct value of correspondant F_GETOWN. This patch fixes
this problem.
For reference, see Mips' F_GETOWN definition in Linux kernel at
arch/mips/includ
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
EDQUOT is defined for Mips platform in Linux kernel in such a way
that it has different value than on most other platforms. However,
correspondant TARGET_EDQUOT for Mips is missing in Qemu code. Moreover,
TARGET_EDQUOT is missin
You are correct. This is going to be fixed in v6, which will appear soon.
Thanks!
Aleksandar
From: Leon Alrae
Sent: Thursday, September 15, 2016 2:51 AM
To: Aleksandar Markovic
Cc: qemu-devel@nongnu.org; riku.voi...@iki.fi; peter.mayd...@linaro.org
]
on behalf of Aleksandar Markovic [aleksandar.marko...@imgtec.com]
Sent: Tuesday, October 04, 2016 1:58 PM
To: Peter Maydell; Aleksandar Markovic
Cc: Riku Voipio; QEMU Developers; Laurent Vivier; Miodrag Dinic; Aleksandar
Rikalo; Petar Jovanovic; Yongbok Kim; Leon Alrae; Aurelien Jarno
Subject: Re: [Qemu
5:38 AM
To: Aleksandar Markovic
Cc: Aleksandar Markovic; Riku Voipio; QEMU Developers; Laurent Vivier; Miodrag
Dinic; Aleksandar Rikalo; Petar Jovanovic; Yongbok Kim; Leon Alrae; Aurelien
Jarno
Subject: Re: [Qemu-devel] [PATCH 4/4] linux-user: Fix fadvise64() syscall
support for Mips32
On 5
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This is just a set of several Qemu Linux user patches that for various
reasons did not make their way to Qemu upstream, but they are all valid
and important in certain use case scenarios for Qemu Linux user mode.
Aleksandar Marko
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
By looking at the file arch/mips/kernel/sys.S in Linux kernel,
it can be deduced that, for Mips32 platform, syscall
corresponding to number _NR_fadvise64 translates to kernel
function sys_fadvise64_64, and that argument
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Update linux-user/mips/termbits.h with ioctl definitnions from kernel
file arch/mips/include/uapi/asm/ioctls.h.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user/mips/termbits.h | 12
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
linux-user/mips64/termbits.h and linux-user/mips/termbits.h
originate from the same files in Linux kernel. There is no plan
to separate original headers in Linux kernel into Mips32 and Mips64
versions any time soon. The
,
Aleksandar
From: Peter Maydell [peter.mayd...@linaro.org]
Sent: Tuesday, October 04, 2016 1:42 PM
To: Aleksandar Markovic
Cc: QEMU Developers; Riku Voipio; Laurent Vivier; Aurelien Jarno; Yongbok Kim;
Leon Alrae; Petar Jovanovic; Miodrag Dinic; Aleksandar
: Tuesday, October 04, 2016 1:35 PM
To: Aleksandar Markovic
Cc: QEMU Developers; Riku Voipio; Laurent Vivier; Aurelien Jarno; Yongbok Kim;
Leon Alrae; Petar Jovanovic; Miodrag Dinic; Aleksandar Rikalo; Aleksandar
Markovic
Subject: Re: [PATCH 1/4] linux-user: Add support for sysfs() syscall
On 4 October
From: Riku Voipio [riku.voi...@iki.fi]
Sent: Friday, October 07, 2016 6:06 AM
To: Aleksandar Markovic
Cc: qemu-devel@nongnu.org; laur...@vivier.eu; peter.mayd...@linaro.org; Petar
Jovanovic; Miodrag Dinic; Aleksandar Rikalo; Aleksandar Markovic
Subject: Re
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode clock_adjtime() syscall support.
The implementation is based on invocation of host's clock_adjtime().
Signed-off-by: Aleksandar Rikalo <aleksandar.rik...@imgtec.com>
Signed-off-by
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode syncfs() syscall support. Syscall
syncfs() syncs the filesystem containing file determined by the open
file descriptor passed as the argument to syncfs().
The implementation co
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v8->v9:
- for clock_adjtime() handling, -EFAULT is returned if copying of structure
times from target to host fails
v7->v8:
- patches for clock_adjtime() and syncfs() fixed so that certain older
syste
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
EDQUOT is defined for Mips platform in Linux kernel in such a way
that it has different value than on most other platforms. However,
correspondent TARGET_EDQUOT for Mips is missing in Qemu code. Moreover,
TARGET_EDQUOT is missin
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
The function that is changed in this patch is supposed to indicate that
there was certain argument rearrangement related to 64-bit arguments on
32-bit platforms. The background on such rearrangements can be found,
for example, in t
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v6->v7:
- Rebased to the latest code.
- Patch 1/1 expanded to act on alpha and sh4.
- Naming in patch 4/7 synced with kernel naming.
- Change code style of patch 5/7.
- Corrected spelling in all patches.
v5->v6:
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch corrects target_semid64_ds structure definition for Mips.
See, for example definition of semid64_ds for Mips in Linux kernel:
arch/mips/include/uapi/asm/sembuf.h#L13.
This patch will also fix certain semaphore-relat
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch fixes wrong definition of TARGET_SIOCATMARK for mips,
alpha, and sh4.
The current definition is:
#define SIOCATMARK 0x8905
while the correct definition is:
#define SIOCATMARK TARGET_IOR('s', 7, int)
See
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
For some reason, Qemu's TARGET_F_GETOWN constant for Mips does not
match the correct value of correspondent F_GETOWN. This patch fixes
this problem.
For reference, see Mips' F_GETOWN definition in Linux kernel at
arch/mips/includ
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Structure flock is defined for Mips in a way different from any
other platform. For reference, see Linux kernel source code files:
arch/mips/include/uapi/asm/fcntl.h, line 63 (for Mips)
include/uapi/asm-generic/fcntl.h, line 195 (f
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Without this patch, a number of Mips syscalls will be logged in the following
way (in this example, this is an invocation of accept4()):
86906 Unknown syscall 4334
This patch provides standard Qemu's strace output for such cases
So true. In v7, I am going to use the style that you suggested.
From: Laurent Vivier [laur...@vivier.eu]
Sent: Friday, September 16, 2016 12:29 PM
To: Aleksandar Markovic; qemu-devel@nongnu.org; riku.voi...@iki.fi;
peter.mayd...@linaro.org; aurel
. In hindsight, I think
devising a script or even a set of command lines would be much faster and
better way of doing this.
Aleksandar
From: Laurent Vivier [laur...@vivier.eu]
Sent: Friday, September 16, 2016 12:35 PM
To: Aleksandar Markovic; qemu-devel
, and minimal test examples
illustrating the bug and the fix as well.
Aleksandar
From: Laurent Vivier [laur...@vivier.eu]
Sent: Friday, September 16, 2016 11:22 AM
To: Aleksandar Markovic; qemu-devel@nongnu.org; riku.voi...@iki.fi;
peter.mayd...@linaro.org
The naming in this patch will be synced with that from the kernel in v7. Thanks!
From: Laurent Vivier [laur...@vivier.eu]
Sent: Friday, September 16, 2016 12:00 PM
To: Aleksandar Markovic; qemu-devel@nongnu.org; riku.voi...@iki.fi;
peter.mayd
> - changed PATH_MAX to 128 in sysfs() patch (last remaining item
> that was supposed to be in the previous version)
At first glance of the patch, you didn't change the good PATH_MAX...
Laurent
It slipped through the cracks. Sorry. :( My bad. But all other changes are in.
Rebase is also good,
R_adjtimex is not defined for such platform. Then we will have a
compiler error that print_adjtimex() is unused. With "ifdef", we wouldn't.
Thanks,
Aleksandar
From: Riku Voipio [riku.voi...@iki.fi]
Sent: Wednesday, September 21, 2016 9:42 PM
To: Al
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode sysfs() syscall support.
Syscall sysfs() involves returning information about the filesystem types
currently present in the kernel, and can operate in three distinct flavors,
depending on its
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
Its declaration is:
int ustat(dev_t dev, struct ustat *ubuf);
Its Linux kernel implementation is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v6->v7:
- rebased to the latest code (there was a large linux-user change since
v6, consisting of 26 patches)
- slightly changed order of patches
- changed PATH_MAX to 128 in sysfs() patch (last remai
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode clock_adjtime() syscall support.
The implementation is based on invocation of host's clock_adjtime(), and is
very similar to the implementation of adjtimex() syscall support. The main
diff
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Conversion of file creation flags (O_CREAT, ...) from target to host
was missing.
Also, this patch implements better error handling.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user/sy
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
If syscalls msgrcv() and msgsnd() fail, they return E2BIG, EACCES,
EAGAIN, EFAULT, EIDRM, EINTR, EINVAL, ENOMEM, or ENOMSG.
By examining negative scenarios of these syscalls for Mips, it was
established that ENOMSG does not have th
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
Since not all Linux host platforms support socketcall() (most notably
Intel), do_socketcall() function in Qemu's syscalls.c is implemented to
mirror the corespondant implementation of socketcall() in Linux kernel,
and to u
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There are currently several problems related to syslog() support.
For example, if the second argument "bufp" of target syslog() syscall
is NULL, the current implementation always returns error code EFAULT.
However, NUL
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
There is a duplicate item in strace.list. It is benign, but it
shouldn't be there, since it may lead to confusion and even bugs
in the future. It is the only duplicate in strace.list. This
patch removes it.
Signed-off-by: Alek
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode adjtimex() syscall support.
Syscall adjtimex() reads and optionally sets parameters for a clock
adjustment algorithm used in network synchonization or similar scenarios.
Its declaration is
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements syncfs() syscall support. The implementation
consists of a straightforward invocation of host's syncfs() only.
Signed-off-by: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
---
linux-user/s
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
v5->v6:
- reworked all patches according to review feedback
- added two new patches on relatively simple issues
v4->v5:
- removed three cleanup patches
v3->v4:
- rebased to the latest code
From: Aleksandar Markovic <aleksandar.marko...@imgtec.com>
This patch implements Qemu user mode ustat() syscall support.
Syscall ustat() returns information about a mounted filesystem.
Its declaration is:
int ustat(dev_t dev, struct ustat *ubuf);
Its Linux kernel implementation is
101 - 200 of 5002 matches
Mail list logo