• R/O
  • SSH
  • HTTPS

caitsith: 提交


Commit MetaInfo

修订版370 (tree)
时间2022-06-21 22:02:19
作者kumaneko

Log Message

(empty log message)

更改概述

差异

--- tags/htdocs/index.html (revision 369)
+++ tags/htdocs/index.html (revision 370)
@@ -304,12 +304,12 @@
304304 <p>Run the following commands in order to extract source code of CaitSith:</p>
305305
306306 <pre class="command">
307-# wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz'
308-# wget -O caitsith-patch-0.2-20220512.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz.asc'
307+# wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz'
308+# wget -O caitsith-patch-0.2-20220621.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz.asc'
309309 # wget https://tomoyo.osdn.jp/kumaneko-key
310310 # gpg --import kumaneko-key
311-# gpg caitsith-patch-0.2-20220512.tar.gz.asc
312-# tar -zxf caitsith-patch-0.2-20220512.tar.gz
311+# gpg caitsith-patch-0.2-20220621.tar.gz.asc
312+# tar -zxf caitsith-patch-0.2-20220621.tar.gz
313313 </pre>
314314
315315 <hr>
@@ -645,12 +645,12 @@
645645 Also, there are several patches which can be applied to distributor's latest kernels. For example "3.10-centos-7" if using CentOS 7's latest kernel:</p>
646646
647647 <pre class="command">
648-$ wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz'
649-$ wget -O caitsith-patch-0.2-20220512.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz.asc'
648+$ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz'
649+$ wget -O caitsith-patch-0.2-20220621.tar.gz.asc 'https://osdn.jp/frs/redir.php?m=jaist&amp;f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz.asc'
650650 $ wget https://tomoyo.osdn.jp/kumaneko-key
651651 $ gpg --import kumaneko-key
652-$ gpg caitsith-patch-0.2-20220512.tar.gz.asc
653-$ tar -zxf caitsith-patch-0.2-20220512.tar.gz
652+$ gpg caitsith-patch-0.2-20220621.tar.gz.asc
653+$ tar -zxf caitsith-patch-0.2-20220621.tar.gz
654654 $ sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' -- patches/ccs-patch-*.diff
655655 $ patch -sp1 &lt; patches/ccs-patch-$VERSION.diff
656656 </pre>
--- trunk/caitsith-patch/patches/ccs-patch-5.19.diff (revision 369)
+++ trunk/caitsith-patch/patches/ccs-patch-5.19.diff (revision 370)
@@ -1,6 +1,6 @@
1-This is TOMOYO Linux patch for kernel 5.19-rc2.
1+This is TOMOYO Linux patch for kernel 5.19-rc3.
22
3-Source code for this patch is https://git.kernel.org/torvalds/t/linux-5.19-rc2.tar.gz
3+Source code for this patch is https://git.kernel.org/torvalds/t/linux-5.19-rc3.tar.gz
44 ---
55 fs/exec.c | 2 -
66 fs/open.c | 2 +
@@ -28,8 +28,8 @@
2828 security/security.c | 5 +++
2929 24 files changed, 150 insertions(+), 30 deletions(-)
3030
31---- linux-5.19-rc2.orig/fs/exec.c
32-+++ linux-5.19-rc2/fs/exec.c
31+--- linux-5.19-rc3.orig/fs/exec.c
32++++ linux-5.19-rc3/fs/exec.c
3333 @@ -1835,7 +1835,7 @@ static int bprm_execve(struct linux_binp
3434 if (retval)
3535 goto out;
@@ -39,8 +39,8 @@
3939 if (retval < 0)
4040 goto out;
4141
42---- linux-5.19-rc2.orig/fs/open.c
43-+++ linux-5.19-rc2/fs/open.c
42+--- linux-5.19-rc3.orig/fs/open.c
43++++ linux-5.19-rc3/fs/open.c
4444 @@ -1439,6 +1439,8 @@ SYSCALL_DEFINE3(close_range, unsigned in
4545 */
4646 SYSCALL_DEFINE0(vhangup)
@@ -50,8 +50,8 @@
5050 if (capable(CAP_SYS_TTY_CONFIG)) {
5151 tty_vhangup_self();
5252 return 0;
53---- linux-5.19-rc2.orig/fs/proc/version.c
54-+++ linux-5.19-rc2/fs/proc/version.c
53+--- linux-5.19-rc3.orig/fs/proc/version.c
54++++ linux-5.19-rc3/fs/proc/version.c
5555 @@ -21,3 +21,10 @@ static int __init proc_version_init(void
5656 return 0;
5757 }
@@ -59,12 +59,12 @@
5959 +
6060 +static int __init ccs_show_version(void)
6161 +{
62-+ printk(KERN_INFO "Hook version: 5.19-rc2 2022/06/17\n");
62++ printk(KERN_INFO "Hook version: 5.19-rc3 2022/06/21\n");
6363 + return 0;
6464 +}
6565 +fs_initcall(ccs_show_version);
66---- linux-5.19-rc2.orig/include/linux/sched.h
67-+++ linux-5.19-rc2/include/linux/sched.h
66+--- linux-5.19-rc3.orig/include/linux/sched.h
67++++ linux-5.19-rc3/include/linux/sched.h
6868 @@ -44,6 +44,7 @@ struct blk_plug;
6969 struct bpf_local_storage;
7070 struct bpf_run_ctx;
@@ -84,8 +84,8 @@
8484
8585 #ifdef CONFIG_TRACING
8686 /* State flags for use by tracers: */
87---- linux-5.19-rc2.orig/include/linux/security.h
88-+++ linux-5.19-rc2/include/linux/security.h
87+--- linux-5.19-rc3.orig/include/linux/security.h
88++++ linux-5.19-rc3/include/linux/security.h
8989 @@ -59,6 +59,7 @@ struct fs_parameter;
9090 enum fs_value_type;
9191 struct watch;
@@ -305,8 +305,8 @@
305305 }
306306 #endif /* CONFIG_SECURITY_PATH */
307307
308---- linux-5.19-rc2.orig/include/net/ip.h
309-+++ linux-5.19-rc2/include/net/ip.h
308+--- linux-5.19-rc3.orig/include/net/ip.h
309++++ linux-5.19-rc3/include/net/ip.h
310310 @@ -345,6 +345,8 @@ void inet_get_local_port_range(struct ne
311311 #ifdef CONFIG_SYSCTL
312312 static inline bool inet_is_local_reserved_port(struct net *net, unsigned short port)
@@ -325,8 +325,8 @@
325325 return false;
326326 }
327327
328---- linux-5.19-rc2.orig/init/init_task.c
329-+++ linux-5.19-rc2/init/init_task.c
328+--- linux-5.19-rc3.orig/init/init_task.c
329++++ linux-5.19-rc3/init/init_task.c
330330 @@ -209,6 +209,10 @@ struct task_struct init_task
331331 #ifdef CONFIG_SECCOMP_FILTER
332332 .seccomp = { .filter_count = ATOMIC_INIT(0) },
@@ -338,8 +338,8 @@
338338 };
339339 EXPORT_SYMBOL(init_task);
340340
341---- linux-5.19-rc2.orig/kernel/kexec.c
342-+++ linux-5.19-rc2/kernel/kexec.c
341+--- linux-5.19-rc3.orig/kernel/kexec.c
342++++ linux-5.19-rc3/kernel/kexec.c
343343 @@ -16,7 +16,7 @@
344344 #include <linux/syscalls.h>
345345 #include <linux/vmalloc.h>
@@ -358,8 +358,8 @@
358358
359359 /* Permit LSMs and IMA to fail the kexec */
360360 result = security_kernel_load_data(LOADING_KEXEC_IMAGE, false);
361---- linux-5.19-rc2.orig/kernel/module/main.c
362-+++ linux-5.19-rc2/kernel/module/main.c
361+--- linux-5.19-rc3.orig/kernel/module/main.c
362++++ linux-5.19-rc3/kernel/module/main.c
363363 @@ -58,6 +58,7 @@
364364
365365 #define CREATE_TRACE_POINTS
@@ -386,8 +386,8 @@
386386
387387 return 0;
388388 }
389---- linux-5.19-rc2.orig/kernel/ptrace.c
390-+++ linux-5.19-rc2/kernel/ptrace.c
389+--- linux-5.19-rc3.orig/kernel/ptrace.c
390++++ linux-5.19-rc3/kernel/ptrace.c
391391 @@ -1271,6 +1271,11 @@ SYSCALL_DEFINE4(ptrace, long, request, l
392392 {
393393 struct task_struct *child;
@@ -412,8 +412,8 @@
412412
413413 if (request == PTRACE_TRACEME) {
414414 ret = ptrace_traceme();
415---- linux-5.19-rc2.orig/kernel/reboot.c
416-+++ linux-5.19-rc2/kernel/reboot.c
415+--- linux-5.19-rc3.orig/kernel/reboot.c
416++++ linux-5.19-rc3/kernel/reboot.c
417417 @@ -18,6 +18,7 @@
418418 #include <linux/syscalls.h>
419419 #include <linux/syscore_ops.h>
@@ -422,7 +422,7 @@
422422
423423 /*
424424 * this indicates whether you can reboot with ctrl-alt-del: the default is yes
425-@@ -698,6 +699,8 @@ SYSCALL_DEFINE4(reboot, int, magic1, int
425+@@ -700,6 +701,8 @@ SYSCALL_DEFINE4(reboot, int, magic1, int
426426 magic2 != LINUX_REBOOT_MAGIC2B &&
427427 magic2 != LINUX_REBOOT_MAGIC2C))
428428 return -EINVAL;
@@ -431,9 +431,9 @@
431431
432432 /*
433433 * If pid namespaces are enabled and the current task is in a child
434---- linux-5.19-rc2.orig/kernel/sched/core.c
435-+++ linux-5.19-rc2/kernel/sched/core.c
436-@@ -6993,6 +6993,8 @@ int can_nice(const struct task_struct *p
434+--- linux-5.19-rc3.orig/kernel/sched/core.c
435++++ linux-5.19-rc3/kernel/sched/core.c
436+@@ -7023,6 +7023,8 @@ int can_nice(const struct task_struct *p
437437 SYSCALL_DEFINE1(nice, int, increment)
438438 {
439439 long nice, retval;
@@ -442,8 +442,8 @@
442442
443443 /*
444444 * Setpriority might change our priority at the same moment.
445---- linux-5.19-rc2.orig/kernel/signal.c
446-+++ linux-5.19-rc2/kernel/signal.c
445+--- linux-5.19-rc3.orig/kernel/signal.c
446++++ linux-5.19-rc3/kernel/signal.c
447447 @@ -3770,6 +3770,8 @@ static inline void prepare_kill_siginfo(
448448 SYSCALL_DEFINE2(kill, pid_t, pid, int, sig)
449449 {
@@ -511,8 +511,8 @@
511511
512512 return do_send_specific(tgid, pid, sig, info);
513513 }
514---- linux-5.19-rc2.orig/kernel/sys.c
515-+++ linux-5.19-rc2/kernel/sys.c
514+--- linux-5.19-rc3.orig/kernel/sys.c
515++++ linux-5.19-rc3/kernel/sys.c
516516 @@ -218,6 +218,10 @@ SYSCALL_DEFINE3(setpriority, int, which,
517517
518518 if (which > PRIO_USER || which < PRIO_PROCESS)
@@ -542,8 +542,8 @@
542542
543543 errno = -EFAULT;
544544 if (!copy_from_user(tmp, name, len)) {
545---- linux-5.19-rc2.orig/kernel/time/timekeeping.c
546-+++ linux-5.19-rc2/kernel/time/timekeeping.c
545+--- linux-5.19-rc3.orig/kernel/time/timekeeping.c
546++++ linux-5.19-rc3/kernel/time/timekeeping.c
547547 @@ -23,6 +23,7 @@
548548 #include <linux/pvclock_gtod.h>
549549 #include <linux/compiler.h>
@@ -577,8 +577,8 @@
577577
578578 /*
579579 * Validate if a timespec/timeval used to inject a time
580---- linux-5.19-rc2.orig/net/ipv4/raw.c
581-+++ linux-5.19-rc2/net/ipv4/raw.c
580+--- linux-5.19-rc3.orig/net/ipv4/raw.c
581++++ linux-5.19-rc3/net/ipv4/raw.c
582582 @@ -772,6 +772,10 @@ static int raw_recvmsg(struct sock *sk,
583583 skb = skb_recv_datagram(sk, flags, &err);
584584 if (!skb)
@@ -590,8 +590,8 @@
590590
591591 copied = skb->len;
592592 if (len < copied) {
593---- linux-5.19-rc2.orig/net/ipv4/udp.c
594-+++ linux-5.19-rc2/net/ipv4/udp.c
593+--- linux-5.19-rc3.orig/net/ipv4/udp.c
594++++ linux-5.19-rc3/net/ipv4/udp.c
595595 @@ -1861,6 +1861,8 @@ try_again:
596596 skb = __skb_recv_udp(sk, flags, &off, &err);
597597 if (!skb)
@@ -601,8 +601,8 @@
601601
602602 ulen = udp_skb_len(skb);
603603 copied = len;
604---- linux-5.19-rc2.orig/net/ipv6/raw.c
605-+++ linux-5.19-rc2/net/ipv6/raw.c
604+--- linux-5.19-rc3.orig/net/ipv6/raw.c
605++++ linux-5.19-rc3/net/ipv6/raw.c
606606 @@ -480,6 +480,10 @@ static int rawv6_recvmsg(struct sock *sk
607607 skb = skb_recv_datagram(sk, flags, &err);
608608 if (!skb)
@@ -614,8 +614,8 @@
614614
615615 copied = skb->len;
616616 if (copied > len) {
617---- linux-5.19-rc2.orig/net/ipv6/udp.c
618-+++ linux-5.19-rc2/net/ipv6/udp.c
617+--- linux-5.19-rc3.orig/net/ipv6/udp.c
618++++ linux-5.19-rc3/net/ipv6/udp.c
619619 @@ -346,6 +346,8 @@ try_again:
620620 skb = __skb_recv_udp(sk, flags, &off, &err);
621621 if (!skb)
@@ -625,8 +625,8 @@
625625
626626 ulen = udp6_skb_len(skb);
627627 copied = len;
628---- linux-5.19-rc2.orig/net/socket.c
629-+++ linux-5.19-rc2/net/socket.c
628+--- linux-5.19-rc3.orig/net/socket.c
629++++ linux-5.19-rc3/net/socket.c
630630 @@ -1858,6 +1858,10 @@ struct file *do_accept(struct file *file
631631 if (err < 0)
632632 goto out_fd;
@@ -638,8 +638,8 @@
638638 if (upeer_sockaddr) {
639639 len = newsock->ops->getname(newsock,
640640 (struct sockaddr *)&address, 2);
641---- linux-5.19-rc2.orig/net/unix/af_unix.c
642-+++ linux-5.19-rc2/net/unix/af_unix.c
641+--- linux-5.19-rc3.orig/net/unix/af_unix.c
642++++ linux-5.19-rc3/net/unix/af_unix.c
643643 @@ -2418,6 +2418,10 @@ int __unix_dgram_recvmsg(struct sock *sk
644644 EPOLLOUT | EPOLLWRNORM |
645645 EPOLLWRBAND);
@@ -659,8 +659,8 @@
659659 mutex_unlock(&u->iolock);
660660 out:
661661 return err;
662---- linux-5.19-rc2.orig/security/Kconfig
663-+++ linux-5.19-rc2/security/Kconfig
662+--- linux-5.19-rc3.orig/security/Kconfig
663++++ linux-5.19-rc3/security/Kconfig
664664 @@ -271,5 +271,7 @@ config LSM
665665
666666 source "security/Kconfig.hardening"
@@ -669,8 +669,8 @@
669669 +
670670 endmenu
671671
672---- linux-5.19-rc2.orig/security/Makefile
673-+++ linux-5.19-rc2/security/Makefile
672+--- linux-5.19-rc3.orig/security/Makefile
673++++ linux-5.19-rc3/security/Makefile
674674 @@ -27,3 +27,6 @@ obj-$(CONFIG_SECURITY_LANDLOCK) += land
675675
676676 # Object integrity file lists
@@ -678,8 +678,8 @@
678678 +
679679 +subdir-$(CONFIG_CCSECURITY) += ccsecurity
680680 +obj-$(CONFIG_CCSECURITY) += ccsecurity/
681---- linux-5.19-rc2.orig/security/security.c
682-+++ linux-5.19-rc2/security/security.c
681+--- linux-5.19-rc3.orig/security/security.c
682++++ linux-5.19-rc3/security/security.c
683683 @@ -1655,7 +1655,9 @@ int security_task_alloc(struct task_stru
684684
685685 if (rc)
--- trunk/caitsith-patch/specs/build-c6-2.6.32.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-c6-2.6.32.sh (revision 370)
@@ -18,9 +18,9 @@
1818 rpm -ivh kernel-2.6.32-754.35.1.el6.src.rpm || die "Can't install source package."
1919
2020 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
21-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
21+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
2222 then
23- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
23+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
2424 fi
2525
2626 cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ."
@@ -69,7 +69,7 @@
6969 ApplyOptionalPatch linux-kernel-test.patch
7070
7171 +# CaitSith
72-+tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz
72++tar -zxf %_sourcedir/caitsith-patch-0.2-20220621.tar.gz
7373 +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
7474 +patch -sp1 < patches/ccs-patch-2.6.32-centos-6.diff
7575 # Any further pre-build tree manipulations happen here.
--- trunk/caitsith-patch/specs/build-c7-3.10.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-c7-3.10.sh (revision 370)
@@ -18,9 +18,9 @@
1818 rpm -ivh kernel-3.10.0-1160.66.1.el7.src.rpm || die "Can't install source package."
1919
2020 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
21-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
21+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
2222 then
23- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
23+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
2424 fi
2525
2626 cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ."
@@ -69,7 +69,7 @@
6969 ApplyOptionalPatch debrand-rh-i686-cpu.patch
7070
7171 +# CaitSith
72-+tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz
72++tar -zxf %_sourcedir/caitsith-patch-0.2-20220621.tar.gz
7373 +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
7474 +patch -sp1 < patches/ccs-patch-3.10-centos-7.diff
7575 # Any further pre-build tree manipulations happen here.
--- trunk/caitsith-patch/specs/build-c8-4.18.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-c8-4.18.sh (revision 370)
@@ -18,9 +18,9 @@
1818 rpm -ivh kernel-4.18.0-394.el8.src.rpm || die "Can't install source package."
1919
2020 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
21-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
21+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
2222 then
23- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
23+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
2424 fi
2525
2626 cd ~/rpmbuild/SPECS/ || die "Can't chdir to ~/rpmbuild/SPECS/ ."
@@ -42,7 +42,7 @@
4242 # END OF PATCH APPLICATIONS
4343
4444 +# CaitSith
45-+tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz
45++tar -zxf %_sourcedir/caitsith-patch-0.2-20220621.tar.gz
4646 +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
4747 +patch -sp1 < patches/ccs-patch-4.18-centos-8.diff
4848 # Any further pre-build tree manipulations happen here.
--- trunk/caitsith-patch/specs/build-debian_wheezy.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-debian_wheezy.sh (revision 370)
@@ -23,10 +23,10 @@
2323 # Download CaitSith patches.
2424 mkdir -p ~/rpmbuild/SOURCES/
2525 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
26-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
26+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
2727 then
2828 apt-get -y install wget
29- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
29+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
3030 fi
3131
3232 # Install kernel source packages.
@@ -38,7 +38,7 @@
3838
3939 # Apply patches and create kernel config.
4040 cd linux-source-3.2 || die "Can't chdir to linux-source-3.2/ ."
41-tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch."
41+tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220621.tar.gz || die "Can't extract patch."
4242 sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
4343 patch -p1 < patches/ccs-patch-3.2-debian-wheezy.diff || die "Can't apply patch."
4444 cat /boot/config-3.2.0-$ABI_VERSION-$ORIGINAL_FLAVOUR config.caitsith > .config || die "Can't create config."
--- trunk/caitsith-patch/specs/build-ubuntu_12.04.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-ubuntu_12.04.sh (revision 370)
@@ -29,9 +29,9 @@
2929 # Download CaitSith patches.
3030 mkdir -p ~/rpmbuild/SOURCES/
3131 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
32-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
32+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
3333 then
34- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
34+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
3535 fi
3636
3737 # Install kernel source packages.
@@ -44,7 +44,7 @@
4444 # Apply patches and create kernel config.
4545 cd linux-3.2.0/ || die "Can't chdir to linux-3.2.0/ ."
4646 update_maintainer
47-tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch."
47+tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220621.tar.gz || die "Can't extract patch."
4848 sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
4949 patch -p1 < patches/ccs-patch-3.2-ubuntu-12.04.diff || die "Can't apply patch."
5050 rm -fR patches/ specs/ || die "Can't delete patch."
--- trunk/caitsith-patch/specs/build-ubuntu_14.04.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-ubuntu_14.04.sh (revision 370)
@@ -29,9 +29,9 @@
2929 # Download CaitSith patches.
3030 mkdir -p ~/rpmbuild/SOURCES/
3131 cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
32-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
32+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
3333 then
34- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
34+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
3535 fi
3636
3737 # Install kernel source packages.
@@ -44,7 +44,7 @@
4444 # Apply patches and create kernel config.
4545 cd linux-3.13.0/ || die "Can't chdir to linux-3.13.0/ ."
4646 update_maintainer
47-tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220512.tar.gz || die "Can't extract patch."
47+tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20220621.tar.gz || die "Can't extract patch."
4848 sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
4949 patch -p1 < patches/ccs-patch-3.13-ubuntu-14.04.diff || die "Can't apply patch."
5050 rm -fR patches/ specs/ || die "Can't delete patch."
--- trunk/caitsith-patch/specs/build-vl6-4.4.sh (revision 369)
+++ trunk/caitsith-patch/specs/build-vl6-4.4.sh (revision 370)
@@ -18,9 +18,9 @@
1818 rpm -ivh kernel-4.4.110-2vl6.src.rpm || die "Can't install source package."
1919
2020 cd ~/rpm/SOURCES/ || die "Can't chdir to ~/rpm/SOURCES/ ."
21-if [ ! -r caitsith-patch-0.2-20220512.tar.gz ]
21+if [ ! -r caitsith-patch-0.2-20220621.tar.gz ]
2222 then
23- wget -O caitsith-patch-0.2-20220512.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220512.tar.gz' || die "Can't download patch."
23+ wget -O caitsith-patch-0.2-20220621.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20220621.tar.gz' || die "Can't download patch."
2424 fi
2525
2626 cd /tmp/ || die "Can't chdir to /tmp/ ."
@@ -61,7 +61,7 @@
6161 # END OF PATCH APPLICATIONS
6262
6363 +# CaitSith
64-+tar -zxf %_sourcedir/caitsith-patch-0.2-20220512.tar.gz
64++tar -zxf %_sourcedir/caitsith-patch-0.2-20220621.tar.gz
6565 +sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
6666 +patch -sp1 < patches/ccs-patch-4.4-vine-linux-6.diff
6767 cp %{SOURCE10} Documentation/
Show on old repository browser