search for: sys_mmap2

Displaying 10 results from an estimated 10 matches for "sys_mmap2".

2006 Feb 22
3
sys_mmap2 on different architectures
I've looked through the code for sys_mmap2 on several architectures, and it looks like some architectures plays by the "shift is always 12" rule, e.g. SPARC, and some expect userspace to actually obtain the page size, e.g. PowerPC and MIPS. On some architectures, e.g. x86 and ARM, the point is moot since PAGE_SIZE is always...
2007 Jun 16
1
had 3 kernel panics since upgrade from 3.0.21a to 3.0.25 and 3.0.25a on CentOS 4.4
...b74e8000 d0f2822c d0f28250 d0f28248 f76b4c40 f76b4c70 db80e000 eaae6640 Jun 9 10:58:28 uk kernel: Call Trace: Jun 9 10:58:28 uk kernel: [<c014e1ee>] vma_link+0x9c/0xbc Jun 9 10:58:28 uk kernel: [<c014ed2e>] do_mmap_pgoff+0x50e/0x666 Jun 9 10:58:28 uk kernel: [<c010b697>] sys_mmap2+0x7e/0xaf Jun 9 10:58:28 uk kernel: [<c02d1213>] syscall_call+0x7/0xb Jun 9 10:58:28 uk kernel: Code: c3 39 ca 74 08 0f 0b 0f 02 64 4e 2e c0 8b 43 08 2b 43 04 c1 e8 0c 8d 54 02 ff 8b 46 08 2b 46 04 c1 e8 0c 8d 44 01 ff 39 c2 74 08 <0f> 0b 10 02 64 4e 2e c0 c7 43 34 00 00 00 00 83 7e...
2012 May 05
3
[PATCH] fix non-RT sigsuspend()
...RCHCONFIG_H */ diff --git a/usr/include/arch/cris/klibc/archconfig.h b/usr/include/arch/cris/klibc/archconfig.h index 0206078..176de6c 100644 --- a/usr/include/arch/cris/klibc/archconfig.h +++ b/usr/include/arch/cris/klibc/archconfig.h @@ -12,4 +12,6 @@ /* cris uses 13 as the page shift factor for sys_mmap2 */ #define _KLIBC_MMAP2_SHIFT 13 +#define _KLIBC_SIGSUSPEND_I_1 + #endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/i386/klibc/archconfig.h b/usr/include/arch/i386/klibc/archconfig.h index b409a21..e42bee7 100644 --- a/usr/include/arch/i386/klibc/archconfig.h +++ b/usr/include/a...
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi, I?ve gone through the mailing list archives and hereby want to resubmit my pending patches. Most are independent of each other, except the m68k patch which will only be complete if sigsuspend is also fixed. (It can be applied before that, though.) http://www.zytor.com/pipermail/klibc/2012-January/003173.html [PATCH] fix m68k support Resubmitted here as 0005. While there was a question from
2006 Jun 26
0
[klibc 27/43] m68k support for klibc
...f62e --- /dev/null +++ b/usr/include/arch/m68k/klibc/archconfig.h @@ -0,0 +1,15 @@ +/* + * include/arch/m68k/klibc/archconfig.h + * + * See include/klibc/sysconfig.h for the options that can be set in + * this file. + * + */ + +#ifndef _KLIBC_ARCHCONFIG_H +#define _KLIBC_ARCHCONFIG_H + +/* On m68k, sys_mmap2 uses the current page size as the shift factor */ +#define _KLIBC_MMAP2_SHIFT __getpageshift() + +#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/m68k/klibc/archsetjmp.h b/usr/include/arch/m68k/klibc/archsetjmp.h new file mode 100644 index 0000000..e85c810 --- /dev/null +++ b/usr/...
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...ude/arch/cris/klibc/archconfig.h @@ -0,0 +1,15 @@ +/* + * include/arch/cris/klibc/archconfig.h + * + * See include/klibc/sysconfig.h for the options that can be set in + * this file. + * + */ + +#ifndef _KLIBC_ARCHCONFIG_H +#define _KLIBC_ARCHCONFIG_H + +/* cris uses 13 as the page shift factor for sys_mmap2 */ +#define _KLIBC_MMAP2_SHIFT 13 + +#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/cris/klibc/archsetjmp.h b/usr/include/arch/cris/klibc/archsetjmp.h new file mode 100644 index 0000000..d345ccb --- /dev/null +++ b/usr/include/arch/cris/klibc/archsetjmp.h @@ -0,0 +1,24 @@ +/* + *...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...klibc/archconfig.h +++ /dev/null @@ -1,15 +0,0 @@ -/* - * include/arch/cris/klibc/archconfig.h - * - * See include/klibc/sysconfig.h for the options that can be set in - * this file. - * - */ - -#ifndef _KLIBC_ARCHCONFIG_H -#define _KLIBC_ARCHCONFIG_H - -/* cris uses 13 as the page shift factor for sys_mmap2 */ -#define _KLIBC_MMAP2_SHIFT 13 - -#endif /* _KLIBC_ARCHCONFIG_H */ diff --git a/usr/include/arch/cris/klibc/archsetjmp.h b/usr/include/arch/cris/klibc/archsetjmp.h deleted file mode 100644 index d345ccbf..00000000 --- a/usr/include/arch/cris/klibc/archsetjmp.h +++ /dev/null @@ -1,24 +0,0 @@ -...
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various architectures that we've applied in Debian. Ben. Aurelien Jarno (1): ppc64: fix struct stat Ben Hutchings (2): MIPS: Update archfcntl.h syscalls: Override detection of direct socket syscalls on i386, m68k, s390 Helge Deller (1): Add pread and pwrite 32bit syscall wrappers for parisc Mauricio Faria de Oliveira
2017 Apr 28
0
Wine release 2.7
...2: Remove ARB_texture_cube_map extension ifdef since it's not defined in wgl.h. ntdll: Also store dynamic loader information in the PEB on Linux. dbghelp: Use the main module load address from the PEB. preloader: Add a debug option to dump memory maps. preloader: Use the SYS_mmap2 system call instead of the old SYS_mmap one. preloader: Fix symbol lookup for dynamic libraries. configure: Re-enable the preloader on Android. configure: Add a separate variable for wineloader-specific flags. Alistair Leslie-Hughes (4): oleaut32: Remove redundant call to V...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: