OK, I have some question about the ktrace. The first notable call is the following:In OpenBSD, the only legal values for the third argument of mprotect are the bitwise sums of #define PROT_NONE 0x00 /* no permissions */ #define PROT_READ 0x01 /* pages can be read */ #define PROT_WRITE 0x02 /* pages can be written */ #define PROT_EXEC 0x04 /* pages can be executed */ But in Linux, bitwise sums of #define PROT_SEM 0x8 /* page may be used for atomic ops */ #define PROT_GROWSDOWN 0x01000000 /* mprotect flag: extend change to start of growsdown vma */ #define PROT_GROWSUP 0x02000000 /* mprotect flag: extend change to end of growsup vma */ are also allowed, in addition to those allowed by OpenBSD. So, at this point in the ktrace, a Linux-specific call to mprotect is being made. Namely, PROT_READ + PROT_WRITE + PROT_EXEC + PROT_GROWSDOWN. Is this the source of the error? If so, could OpenBSD's compat_linux be patched? But then it appears that OpenBSD recovers from the error and strips off the offending bit that corresponds to PROT_GROWSDOWN: But this appears to be unsuccessful, too. Why? Tens of thousands of unsuccessful calls to mprotect are made at various memory addresses, until finally an error is returned: What is the significance of this error? Is it caused by OpenBSD's ProPolice stack protection?
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Linus Torvalds | Linux 2.6.27-rc8 |
| Adrian Bunk | 2.6.23-rc4-mm1: mips compile error |
| Nick Piggin | Re: [PATCH 0 of 4] Generic AIO by scheduling stacks |
git: | |
| Bill Lear | Dangers of working on a tracking branch |
| Pedro Melo | Re: git on MacOSX and files with decomposed utf-8 file names |
| Linus Torvalds | Re: kernel.org mirroring (Re: [GIT PULL] MMC update) |
| Junio C Hamano | Re: [Census] So who uses git? |
| Leon Dippenaar | New tcp stack attack |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Chris | sudo & wheel group |
| Paul Moore | [PATCH v7 00/17] Labeled networking patches for 2.6.28 |
| Wang Chen | [PATCH 2/15] netdevice 82596: Convert directly reference of netdev->priv to net... |
| David Miller | [GIT]: Networking |
| Herbert Xu | Re: csum offload and af_packet |
