This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
システムコールexit()のメイン処理は、kernel/exit.cのdo_exit関数から始まります。 | |
do_exitから呼び出されている、exit_xxx関数を読んでいけば大まかな処理が解る | |
* exit_signals | |
signalをmaskしていたりして、pending状態になっているsignalを処理している。 | |
終了したtask_structがthreadだった場合、pendingしているsignalを他のthreadに付け直す必要があり、その処理をretarget_shared_pending関数で行っている。 | |
* exit_itimers | |
いわゆるpoxiタイマー(timer_createで作る奴)の解放処理。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KERNEL ?= /usr/src/linux | |
PWD := $(shell pwd) | |
obj-m := example.o | |
all: | |
make -C $(KERNEL) M=$(PWD) modules | |
clean: | |
rm -f *.o *.ko *.mod.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KERNEL ?= /usr/src/linux | |
PWD := $(shell pwd) | |
obj-m := hello_driver.o | |
all: | |
make -C $(KERNEL) M=$(PWD) modules | |
clean: | |
rm -f *.o *.ko *.mod.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/rc.d/init.d/functions | |
. /etc/sysconfig/network | |
[ "$NETWORKING" = "no" ] && exit 0 | |
INSTALLDIR="/opt/nginx" | |
NGINX="$INSTALLDIR/sbin/nginx" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# | |
# chkconfig: - 55 45 | |
# description: The memcached daemon is a network memory cache service. | |
# processname: memcached | |
# config: /etc/sysconfig/memcached | |
# pidfile: /var/run/memcached/memcached.pid | |
# Standard LSB functions | |
#. /lib/lsb/init-functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 810e88dced5511f1785e8b227c9f95e6d74bd152 Mon Sep 17 00:00:00 2001 | |
From: Hirofumi Nakagawa <hirofumi.nakagawa@mixi.co.jp> | |
Date: Fri, 11 Jan 2013 06:43:37 +0900 | |
Subject: [PATCH] backported early retransmit to v3.3 | |
MIME-Version: 1.0 | |
Content-Type: text/plain; charset=UTF-8 | |
Content-Transfer-Encoding: 8bit | |
commit eed530b6c67624db3f2cf477bac7c4d005d8f7ba | |
Author: Yuchung Cheng <ycheng@google.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package triaina.sample; | |
import android.os.Bundle; | |
import android.os.Handler; | |
import android.os.Looper; | |
import android.os.Parcel; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentPagerAdapter; | |
import android.support.v4.app.NavUtils; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra' | |
post '/upload' do | |
p params | |
unless params[:test] && | |
(tmpfile = params[:test][:tempfile]) && | |
(name = params[:test][:filename]) | |
@error = "No file selected" | |
return 'error' | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.hackpolicy; | |
import android.app.Service; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.IBinder; | |
import android.util.Log; | |
import android.view.Window; | |
import android.view.WindowManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 82040520df05810b6c4a4d9584c2f27f2de16a90 Mon Sep 17 00:00:00 2001 | |
From: Hirofumi Nakagawa <nklabs@gmail.com> | |
Date: Sun, 7 Sep 2014 03:29:53 +0900 | |
Subject: [PATCH] broadcom wl driver(hybrid-v35_64-nodebug-pcoem-6_30_223_248) | |
porting for 3.16 | |
--- | |
src/wl/sys/wl_cfg80211_hybrid.c | 8 ++++---- | |
1 file changed, 4 insertions(+), 4 deletions(-) |
OlderNewer