Commit fcf7d676 authored by Manuel's avatar Manuel

New systemd

parent 14d4b01f
#
# Core Packages for Chakra, part of chakra-project.org
_kver="3.8.8-1-CHAKRA"
_kver="3.9.0-1-CHAKRA"
pkgname=acpi_call
_pkgname=acpi_call
pkgver=1.0.0
pkgrel=5
pkgrel=6
pkgdesc="A kernel module that enables you to call parameterless ACPI methods by writing the method name to /proc/acpi/call, e.g. to turn off discrete graphics card in a dual graphics environment (like NVIDIA Optimus)."
arch=('x86_64')
url=("http://github.com/mkottman/acpi_call")
license=('GPL')
depends=('linux>=3.8' 'linux<3.9' 'linux-headers')
depends=('linux>=3.9' 'linux<3.10' 'linux-headers')
makedepends=('git')
provides=('acpi-call')
replaces=('acpi-call')
......
......@@ -2,12 +2,12 @@
# Chakra Packages for Chakra, part of chakra-project.org
#
# Find the kernel name inside the chroot
_extramodules=extramodules-3.8-CHAKRA
_extramodules=extramodules-3.9-CHAKRA
_kernver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=broadcom-wl
pkgver=5.100.82.112
pkgrel=17
pkgrel=18
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
url='http://www.broadcom.com/support/802.11/linux_sta.php'
arch=('i686' 'x86_64')
......
......@@ -6,16 +6,16 @@
pkgbase=linux
pkgname=('linux' 'linux-headers' 'linux-docs')
_kernelname=${pkgname#linux}
_basekernel=3.8
pkgver=3.8.8
_basekernel=3.9
pkgver=3.9.0
pkgrel=1
arch=('x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl')
options=('!strip')
source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.tar.xz"
"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basekernel}.tar.xz"
#"http://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
# the main kernel config files
'config.x86_64'
#aufs patches
......@@ -26,11 +26,12 @@ source=("http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.8.tar.xz"
'aufs3-kbuild.patch'
'aufs3.patch'
'config.aufs'
# Fixes
alsa-firmware-loading-3.8.8.patch
# standard config files for mkinitcpio ramdisk
'linux.preset'
'change-default-console-loglevel.patch')
md5sums=('1c738edfc54e7c65faeb90c436104e2f'
'08cdcef928c2ca402adf1c444a3c43ac'
md5sums=('4348c9b6b2eb3144d601e87c19d5d909'
'b052c16a6f0b1861233166b9d52033d2'
'52690fe8baa6d6abd858f04c4531d437'
'94a873436f6c62580ac54c1b9f0e021a'
......@@ -39,6 +40,7 @@ md5sums=('1c738edfc54e7c65faeb90c436104e2f'
'f9d33aeebb5c637eeefc222643632035'
'5e73a0f39d73095bdff6a9168ecc05cd'
'52f4a2c7f6277774117c834d949d6b81'
'e2ac681ffa439e969b4c3b4616852454'
'eb14dcfd80c00852ef81ded6e826826a'
'65cbe8e4c8efaf96dd162102e46ce81d')
......@@ -46,7 +48,7 @@ build() {
cd "${srcdir}/linux-${_basekernel}"
# add upstream patch
patch -p1 -i "${srcdir}/patch-${pkgver}"
# patch -p1 -i "${srcdir}/patch-${pkgver}"
# add latest fixes from stable queue, if needed
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
......@@ -56,6 +58,9 @@ build() {
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
patch -p1 -i "${srcdir}/change-default-console-loglevel.patch"
# Fix for alsa
patch -Np1 -i "${srcdir}/alsa-firmware-loading-3.8.8.patch"
#aufs patches for Live:
patch -p1 -i "${srcdir}/aufs3.patch"
patch -p1 -i "${srcdir}/aufs3-base.patch"
......@@ -106,7 +111,7 @@ package_linux() {
depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio>=0.7')
optdepends=('crda: to set the correct wireless channels of your country')
provides=('nouveau-drm' 'kernel26' 'acerhk=0.5.35' 'aufs3')
conflicts=('kernel26' 'nvidia-96xx=96.43.20-9' 'acerhk')
conflicts=('kernel26' 'nvidia-96xx=96.43.20-9' 'acerhk' 'tiacx')
replaces=('kernel26' 'aufs3' 'nouveau-drm')
backup=("etc/mkinitcpio.d/${pkgname}.preset")
install=linux.install
......
aufs3.x-rcN proc_map patch
diff --git a/fs/buffer.c b/fs/buffer.c
index 7a75c3e..b9c3f3c 100644
index b4dcb34..7b6b475 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2380,6 +2380,8 @@ int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf,
@@ -2390,6 +2390,8 @@ int block_page_mkwrite(struct vm_area_struct *vma, struct vm_fault *vmf,
* fault so this update may be superfluous but who really cares...
*/
file_update_time(vma->vm_file);
......@@ -14,31 +14,31 @@ index 7a75c3e..b9c3f3c 100644
ret = __block_page_mkwrite(vma, vmf, get_block);
sb_end_pagefault(sb);
diff --git a/fs/proc/nommu.c b/fs/proc/nommu.c
index b1822dd..8b29ab7 100644
index ccfd99b..c09e2cf 100644
--- a/fs/proc/nommu.c
+++ b/fs/proc/nommu.c
@@ -46,6 +46,10 @@ static int nommu_region_show(struct seq_file *m, struct vm_region *region)
if (file) {
struct inode *inode = region->vm_file->f_path.dentry->d_inode;
struct inode *inode = file_inode(region->vm_file);
+ if (region->vm_prfile) {
+ file = region->vm_prfile;
+ inode = file->f_path.dentry->d_inode;
+ inode = file_inode(file);
+ }
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
}
diff --git a/fs/proc/task_mmu.c b/fs/proc/task_mmu.c
index ca5ce7f..45db66f 100644
index 3e636d8..1004190 100644
--- a/fs/proc/task_mmu.c
+++ b/fs/proc/task_mmu.c
@@ -272,6 +272,10 @@ show_map_vma(struct seq_file *m, struct vm_area_struct *vma, int is_pid)
if (file) {
struct inode *inode = vma->vm_file->f_path.dentry->d_inode;
struct inode *inode = file_inode(vma->vm_file);
+ if (vma->vm_prfile) {
+ file = vma->vm_prfile;
+ inode = file->f_path.dentry->d_inode;
+ inode = file_inode(file);
+ }
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
......@@ -53,25 +53,25 @@ index ca5ce7f..45db66f 100644
} else if (vma->vm_start <= mm->brk && vma->vm_end >= mm->start_brk) {
seq_printf(m, " heap");
diff --git a/fs/proc/task_nommu.c b/fs/proc/task_nommu.c
index 1ccfa53..c39acb5 100644
index 56123a6..b987a88 100644
--- a/fs/proc/task_nommu.c
+++ b/fs/proc/task_nommu.c
@@ -150,6 +150,10 @@ static int nommu_vma_show(struct seq_file *m, struct vm_area_struct *vma,
if (file) {
struct inode *inode = vma->vm_file->f_path.dentry->d_inode;
struct inode *inode = file_inode(vma->vm_file);
+ if (vma->vm_prfile) {
+ file = vma->vm_prfile;
+ inode = file->f_path.dentry->d_inode;
+ inode = file_inode(file);
+ }
dev = inode->i_sb->s_dev;
ino = inode->i_ino;
pgoff = (loff_t)vma->vm_pgoff << PAGE_SHIFT;
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
index f8f5162..25ce88d 100644
index ace9a5f..6636779 100644
--- a/include/linux/mm_types.h
+++ b/include/linux/mm_types.h
@@ -212,6 +212,7 @@ struct vm_region {
@@ -213,6 +213,7 @@ struct vm_region {
unsigned long vm_top; /* region allocated to here */
unsigned long vm_pgoff; /* the offset in vm_file corresponding to vm_start */
struct file *vm_file; /* the backing file or NULL */
......@@ -79,7 +79,7 @@ index f8f5162..25ce88d 100644
int vm_usage; /* region usage count (access under nommu_region_sem) */
bool vm_icache_flushed : 1; /* true if the icache has been flushed for
@@ -280,6 +281,7 @@ struct vm_area_struct {
@@ -281,6 +282,7 @@ struct vm_area_struct {
unsigned long vm_pgoff; /* Offset (within vm_file) in PAGE_SIZE
units, *not* PAGE_CACHE_SIZE */
struct file * vm_file; /* File we map to (can be NULL). */
......@@ -88,7 +88,7 @@ index f8f5162..25ce88d 100644
#ifndef CONFIG_MMU
diff --git a/kernel/fork.c b/kernel/fork.c
index c535f33..76da22a 100644
index 1766d32..c17b93b 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -417,6 +417,8 @@ static int dup_mmap(struct mm_struct *mm, struct mm_struct *oldmm)
......@@ -101,10 +101,10 @@ index c535f33..76da22a 100644
atomic_dec(&inode->i_writecount);
mutex_lock(&mapping->i_mmap_mutex);
diff --git a/mm/memory.c b/mm/memory.c
index bb1369f..105c729 100644
index ba94dec..2c87da1 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -3373,6 +3373,8 @@ static int __do_fault(struct mm_struct *mm, struct vm_area_struct *vma,
@@ -3456,6 +3456,8 @@ static int __do_fault(struct mm_struct *mm, struct vm_area_struct *vma,
/* file_update_time outside page_lock */
if (vma->vm_file && !page_mkwrite)
file_update_time(vma->vm_file);
......@@ -114,10 +114,10 @@ index bb1369f..105c729 100644
unlock_page(vmf.page);
if (anon)
diff --git a/mm/mmap.c b/mm/mmap.c
index 35730ee..a8c385b 100644
index 0db0de1..147446c 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -242,6 +242,8 @@ static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
@@ -243,6 +243,8 @@ static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
vma->vm_ops->close(vma);
if (vma->vm_file)
fput(vma->vm_file);
......@@ -126,7 +126,7 @@ index 35730ee..a8c385b 100644
mpol_put(vma_policy(vma));
kmem_cache_free(vm_area_cachep, vma);
return next;
@@ -816,6 +818,8 @@ again: remove_next = 1 + (end > next->vm_end);
@@ -825,6 +827,8 @@ again: remove_next = 1 + (end > next->vm_end);
if (file) {
uprobe_munmap(next, next->vm_start, next->vm_end);
fput(file);
......@@ -135,7 +135,7 @@ index 35730ee..a8c385b 100644
}
if (next->anon_vma)
anon_vma_merge(vma, next);
@@ -2344,6 +2348,8 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma,
@@ -2387,6 +2391,8 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma,
if (new->vm_file)
get_file(new->vm_file);
......@@ -144,7 +144,7 @@ index 35730ee..a8c385b 100644
if (new->vm_ops && new->vm_ops->open)
new->vm_ops->open(new);
@@ -2363,6 +2369,8 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma,
@@ -2406,6 +2412,8 @@ static int __split_vma(struct mm_struct * mm, struct vm_area_struct * vma,
new->vm_ops->close(new);
if (new->vm_file)
fput(new->vm_file);
......@@ -153,7 +153,7 @@ index 35730ee..a8c385b 100644
unlink_anon_vmas(new);
out_free_mpol:
mpol_put(pol);
@@ -2760,6 +2768,8 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
@@ -2805,6 +2813,8 @@ struct vm_area_struct *copy_vma(struct vm_area_struct **vmap,
goto out_free_mempol;
if (new_vma->vm_file)
get_file(new_vma->vm_file);
......@@ -163,10 +163,10 @@ index 35730ee..a8c385b 100644
new_vma->vm_ops->open(new_vma);
vma_link(mm, new_vma, prev, rb_link, rb_parent);
diff --git a/mm/nommu.c b/mm/nommu.c
index 79c3cac..85da8dc 100644
index 2f3ea74..06529ce 100644
--- a/mm/nommu.c
+++ b/mm/nommu.c
@@ -648,6 +648,8 @@ static void __put_nommu_region(struct vm_region *region)
@@ -650,6 +650,8 @@ static void __put_nommu_region(struct vm_region *region)
if (region->vm_file)
fput(region->vm_file);
......@@ -175,7 +175,7 @@ index 79c3cac..85da8dc 100644
/* IO memory and memory shared directly out of the pagecache
* from ramfs/tmpfs mustn't be released here */
@@ -806,6 +808,8 @@ static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma)
@@ -808,6 +810,8 @@ static void delete_vma(struct mm_struct *mm, struct vm_area_struct *vma)
vma->vm_ops->close(vma);
if (vma->vm_file)
fput(vma->vm_file);
......@@ -184,7 +184,7 @@ index 79c3cac..85da8dc 100644
put_nommu_region(vma->vm_region);
kmem_cache_free(vm_area_cachep, vma);
}
@@ -1369,6 +1373,8 @@ unsigned long do_mmap_pgoff(struct file *file,
@@ -1374,6 +1378,8 @@ unsigned long do_mmap_pgoff(struct file *file,
}
}
fput(region->vm_file);
......@@ -193,7 +193,7 @@ index 79c3cac..85da8dc 100644
kmem_cache_free(vm_region_jar, region);
region = pregion;
result = start;
@@ -1445,9 +1451,13 @@ error_just_free:
@@ -1450,9 +1456,13 @@ error_just_free:
error:
if (region->vm_file)
fput(region->vm_file);
......
aufs3.7 standalone patch
diff --git a/fs/file_table.c b/fs/file_table.c
index dac6792..e3f2c15 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -37,6 +37,7 @@ struct files_stat_struct files_stat = {
};
DEFINE_LGLOCK(files_lglock);
+EXPORT_SYMBOL(files_lglock);
/* SLAB cache for file structures */
static struct kmem_cache *filp_cachep __read_mostly;
@@ -403,6 +404,8 @@ void file_sb_list_del(struct file *file)
}
}
+EXPORT_SYMBOL(file_sb_list_del);
+
#ifdef CONFIG_SMP
/*
diff --git a/fs/inode.c b/fs/inode.c
index ad73fc3..108ff2b 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -56,6 +56,7 @@ static struct hlist_head *inode_hashtable __read_mostly;
static __cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_hash_lock);
__cacheline_aligned_in_smp DEFINE_SPINLOCK(inode_sb_list_lock);
+EXPORT_SYMBOL(inode_sb_list_lock);
/*
* Empty aops. Can be used for the cases where the user does not
@@ -1519,6 +1520,7 @@ int update_time(struct inode *inode, struct timespec *time, int flags)
mark_inode_dirty_sync(inode);
return 0;
}
+EXPORT_SYMBOL(update_time);
/**
* touch_atime - update the access time
diff --git a/fs/namespace.c b/fs/namespace.c
index 2496062..3e66a90 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -50,6 +50,7 @@ EXPORT_SYMBOL_GPL(fs_kobj);
* tree or hash is modified or when a vfsmount structure is modified.
*/
DEFINE_BRLOCK(vfsmount_lock);
+EXPORT_SYMBOL(vfsmount_lock);
static inline unsigned long hash(struct vfsmount *mnt, struct dentry *dentry)
{
@@ -1401,6 +1402,7 @@ int iterate_mounts(int (*f)(struct vfsmount *, void *), void *arg,
}
return 0;
}
+EXPORT_SYMBOL(iterate_mounts);
static void cleanup_group_ids(struct mount *mnt, struct mount *end)
{
diff --git a/fs/notify/group.c b/fs/notify/group.c
index 63fc294..6f4adca 100644
--- a/fs/notify/group.c
+++ b/fs/notify/group.c
@@ -22,6 +22,7 @@
#include <linux/srcu.h>
#include <linux/rculist.h>
#include <linux/wait.h>
+#include <linux/module.h>
#include <linux/fsnotify_backend.h>
#include "fsnotify.h"
@@ -70,6 +71,7 @@ void fsnotify_put_group(struct fsnotify_group *group)
if (atomic_dec_and_test(&group->refcnt))
fsnotify_destroy_group(group);
}
+EXPORT_SYMBOL(fsnotify_put_group);
/*
* Create a new fsnotify_group and hold a reference for the group returned.
@@ -102,3 +104,4 @@ struct fsnotify_group *fsnotify_alloc_group(const struct fsnotify_ops *ops)
return group;
}
+EXPORT_SYMBOL(fsnotify_alloc_group);
diff --git a/fs/notify/mark.c b/fs/notify/mark.c
index f104d56..54f36db 100644
--- a/fs/notify/mark.c
+++ b/fs/notify/mark.c
@@ -112,6 +112,7 @@ void fsnotify_put_mark(struct fsnotify_mark *mark)
if (atomic_dec_and_test(&mark->refcnt))
mark->free_mark(mark);
}
+EXPORT_SYMBOL(fsnotify_put_mark);
/*
* Any time a mark is getting freed we end up here.
@@ -191,6 +192,7 @@ void fsnotify_destroy_mark(struct fsnotify_mark *mark)
if (unlikely(atomic_dec_and_test(&group->num_marks)))
fsnotify_final_destroy_group(group);
}
+EXPORT_SYMBOL(fsnotify_destroy_mark);
void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask)
{
@@ -278,6 +280,7 @@ err:
return ret;
}
+EXPORT_SYMBOL(fsnotify_add_mark);
/*
* clear any marks in a group in which mark->flags & flags is true
@@ -333,6 +336,7 @@ void fsnotify_init_mark(struct fsnotify_mark *mark,
atomic_set(&mark->refcnt, 1);
mark->free_mark = free_mark;
}
+EXPORT_SYMBOL(fsnotify_init_mark);
static int fsnotify_mark_destroy(void *ignored)
{
diff --git a/fs/open.c b/fs/open.c
index 59071f5..7e4c856 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -60,6 +60,7 @@ int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
mutex_unlock(&dentry->d_inode->i_mutex);
return ret;
}
+EXPORT_SYMBOL(do_truncate);
static long do_sys_truncate(const char __user *pathname, loff_t length)
{
diff --git a/fs/splice.c b/fs/splice.c
index f185c6c..f3d89da 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1117,6 +1117,7 @@ long do_splice_from(struct pipe_inode_info *pipe, struct file *out,
return splice_write(pipe, out, ppos, len, flags);
}
+EXPORT_SYMBOL(do_splice_from);
/*
* Attempt to initiate a splice from a file to a pipe.
@@ -1143,6 +1144,7 @@ long do_splice_to(struct file *in, loff_t *ppos,
return splice_read(in, ppos, pipe, len, flags);
}
+EXPORT_SYMBOL(do_splice_to);
/**
* splice_direct_to_actor - splices data directly between two non-pipes
diff --git a/security/commoncap.c b/security/commoncap.c
index 6dbae46..9f4f29a 100644
--- a/security/commoncap.c
+++ b/security/commoncap.c
@@ -979,9 +979,11 @@ int cap_mmap_addr(unsigned long addr)
}
return ret;
}
+EXPORT_SYMBOL(cap_mmap_addr);
int cap_mmap_file(struct file *file, unsigned long reqprot,
unsigned long prot, unsigned long flags)
{
return 0;
}
+EXPORT_SYMBOL(cap_mmap_file);
diff --git a/security/device_cgroup.c b/security/device_cgroup.c
index b08d20c..a90420b 100644
--- a/security/device_cgroup.c
+++ b/security/device_cgroup.c
@@ -7,6 +7,7 @@
#include <linux/device_cgroup.h>
#include <linux/cgroup.h>
#include <linux/ctype.h>
+#include <linux/export.h>
#include <linux/list.h>
#include <linux/uaccess.h>
#include <linux/seq_file.h>
@@ -617,6 +618,7 @@ int __devcgroup_inode_permission(struct inode *inode, int mask)
return __devcgroup_check_permission(type, imajor(inode), iminor(inode),
access);
}
+EXPORT_SYMBOL(__devcgroup_inode_permission);
int devcgroup_inode_mknod(int mode, dev_t dev)
{
diff --git a/security/security.c b/security/security.c
index 8dcd4ae..6efe561 100644
--- a/security/security.c
+++ b/security/security.c
@@ -396,6 +396,7 @@ int security_path_rmdir(struct path *dir, struct dentry *dentry)
return 0;
return security_ops->path_rmdir(dir, dentry);
}
+EXPORT_SYMBOL(security_path_rmdir);
int security_path_unlink(struct path *dir, struct dentry *dentry)
{
@@ -412,6 +413,7 @@ int security_path_symlink(struct path *dir, struct dentry *dentry,
return 0;
return security_ops->path_symlink(dir, dentry, old_name);
}
+EXPORT_SYMBOL(security_path_symlink);
int security_path_link(struct dentry *old_dentry, struct path *new_dir,
struct dentry *new_dentry)
@@ -420,6 +422,7 @@ int security_path_link(struct dentry *old_dentry, struct path *new_dir,
return 0;
return security_ops->path_link(old_dentry, new_dir, new_dentry);
}
+EXPORT_SYMBOL(security_path_link);
int security_path_rename(struct path *old_dir, struct dentry *old_dentry,
struct path *new_dir, struct dentry *new_dentry)
@@ -438,6 +441,7 @@ int security_path_truncate(struct path *path)
return 0;
return security_ops->path_truncate(path);
}
+EXPORT_SYMBOL(security_path_truncate);
int security_path_chmod(struct path *path, umode_t mode)
{
@@ -445,6 +449,7 @@ int security_path_chmod(struct path *path, umode_t mode)
return 0;
return security_ops->path_chmod(path, mode);
}
+EXPORT_SYMBOL(security_path_chmod);
int security_path_chown(struct path *path, kuid_t uid, kgid_t gid)
{
@@ -452,6 +457,7 @@ int security_path_chown(struct path *path, kuid_t uid, kgid_t gid)
return 0;
return security_ops->path_chown(path, uid, gid);
}
+EXPORT_SYMBOL(security_path_chown);
int security_path_chroot(struct path *path)
{
@@ -528,6 +534,7 @@ int security_inode_readlink(struct dentry *dentry)
return 0;
return security_ops->inode_readlink(dentry);
}
+EXPORT_SYMBOL(security_inode_readlink);
int security_inode_follow_link(struct dentry *dentry, struct nameidata *nd)
{
@@ -542,6 +549,7 @@ int security_inode_permission(struct inode *inode, int mask)
return 0;
return security_ops->inode_permission(inode, mask);
}
+EXPORT_SYMBOL(security_inode_permission);
int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
{
@@ -663,6 +671,7 @@ int security_file_permission(struct file *file, int mask)
return fsnotify_perm(file, mask);
}
+EXPORT_SYMBOL(security_file_permission);
int security_file_alloc(struct file *file)
{
@@ -723,6 +732,7 @@ int security_mmap_file(struct file *file, unsigned long prot,
return ret;
return ima_file_mmap(file, prot);
}
+EXPORT_SYMBOL(security_mmap_file);
int security_mmap_addr(unsigned long addr)
{
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.8.8-1 Kernel Configuration
# Linux/x86_64 3.9.0-1 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
......
......@@ -2,7 +2,7 @@
# arg 2: the old package version
KERNEL_NAME=
KERNEL_VERSION=3.8.8-1-CHAKRA
KERNEL_VERSION=3.9.0-1-CHAKRA
# set a sane PATH to ensure that critical utils like depmod will be found
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
_extramodules=extramodules-3.8-CHAKRA
_extramodules=extramodules-3.9-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=ndiswrapper
pkgver=1.58
pkgrel=1
pkgrel=2
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
license=('GPL')
arch=('x86_64')
url="http://ndiswrapper.sourceforge.net"
install="ndiswrapper.install"
depends=('linux>=3.8' 'linux<3.9')
depends=('linux>=3.9' 'linux<4.0')
provides=("ndiswrapper-utils=$pkgver")
replaces=('ndiswrapper-utils')
conflicts=('ndiswrapper-utils')
......
#
# maintainer: abveritas@chakra-project.org
pkgname=systemd
pkgver=201
pkgrel=4
pkgver=202
pkgrel=1
pkgdesc="A system and service manager for Linux"
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/systemd"
......@@ -37,7 +34,7 @@ source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
'99-default.preset'
'98-chakra.rules'
'is_bundle')
md5sums=('3e758392ff0e9206b3f7ee252b4a654b'
md5sums=('3136c6912d3ee1f6d4deb16234783731'
'e99e9189aa2f6084ac28b8ddf605aeb8'
'fb37e34ea006c79be1c54cbb0f803414'
'df69615503ad293c9ddf9d8b7755282d'
......
......@@ -2,17 +2,17 @@
# Chakra Packages for Chakra, part of chakra-project.org
#
_extramodules=extramodules-3.8-CHAKRA
_extramodules=extramodules-3.9-CHAKRA
_kver="$(cat /lib/modules/${_extramodules}/version)"
pkgname=vhba-module
pkgver=20120422
pkgrel=10
pkgrel=11
pkgdesc="Kernel module that emulates SCSI devices"
arch=('x86_64')
url="http://cdemu.sourceforge.net/"
license=('GPL2')
depends=('linux>=3.8' 'linux<3.9')
depends=('linux>=3.9' 'linux<4.0')
makedepends=('linux-headers')
install=vhba-module.install
source=("http://sourceforge.net/projects/cdemu/files/vhba-module/vhba-module-$pkgver.tar.bz2"
......
post_install() {
EXTRAMODULES='extramodules-3.8-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $(cat /lib/modules/$EXTRAMODULES/version)
}
......@@ -8,7 +8,7 @@ post_upgrade() {
}
post_remove() {
EXTRAMODULES='extramodules-3.8-CHAKRA'
EXTRAMODULES='extramodules-3.9-CHAKRA'
depmod $