History log of /netbsd/sys/compat/sys/mount.h (Results 1 – 15 of 15)
Revision Date Author Comments
# 2166d7a6 30-Aug-2021 riastradh <riastradh@NetBSD.org>

sys/compat: Don't clobber f_oflags with zero.

Mistake was introduced in previous refactoring.


# 0be8f39a 03-Jul-2020 jdolecek <jdolecek@NetBSD.org>

don't overallocate (follows similar change to compat/sys/statvfs.h)


# 1eaeaab0 27-Jun-2020 christos <christos@NetBSD.org>

Ignore the supplied size, and always use the argument size that we know.
Found by maxv@


# 8d25bda6 27-Jun-2020 maxv <maxv@NetBSD.org>

Yet another idiotic compat syscall that was developed with literally zero
test made. Simply invoking this syscall with _valid parameters_ triggers a
fatal fault, because the kernel tries to write to

Yet another idiotic compat syscall that was developed with literally zero
test made. Simply invoking this syscall with _valid parameters_ triggers a
fatal fault, because the kernel tries to write to userland addresses.

With specially-crafted parameters it is easy to completely escalate
privileges into the kernel.

Also the size of the allocation is just obviously wrong, but it looks like
the callers are even more wrong, so not gonna fix it for now.

Reported-by: syzbot+b05096f3114b2820d81c@syzkaller.appspotmail.com

show more ...


# 5d25767a 04-Oct-2019 christos <christos@NetBSD.org>

deduplicate the conversion function from statvfs -> statfs12


# a949d096 04-Oct-2013 christos <christos@NetBSD.org>

prefix compat with __ in case __dso_hidden is not available


# fafcda42 04-Oct-2013 christos <christos@NetBSD.org>

avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_fo

avoid linker warning for compat symbols that are used internally in libc,
by introducing a hidden compat_foo() function, using that internally in
libc, and exposing foo as a strong alias to compat_foo(). I am open for
better ideas.

show more ...


# 461a86f9 11-Jan-2009 christos <christos@NetBSD.org>

merge christos-time_t


# 515c2436 17-Jul-2007 christos <christos@NetBSD.org>

MFSNAMELEN only belongs in compat.


# 273fdced 04-Aug-2006 yamt <yamt@NetBSD.org>

whitespace.


# b4cb63a6 31-Jul-2006 martin <martin@NetBSD.org>

Make filehandles opaque to userland


# a3b5baed 13-Jul-2006 martin <martin@NetBSD.org>

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in

Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).

show more ...


# bc364eb4 04-May-2006 christos <christos@NetBSD.org>

update for fhstat.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 063b880c 13-Sep-2005 christos <christos@NetBSD.org>

compat code reorg.