Bump ABI to 2
This commit is contained in:
parent
7e3e2b019c
commit
922a5d78d1
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -200,8 +200,7 @@ linux (4.12.10-1) UNRELEASED; urgency=medium
|
|||
* [alpha] udeb: Add i2c-modules (fixes FTBFS)
|
||||
* cpupower: Add/update definition of MSRHEADER macro for turbostat and
|
||||
x86_energy_perf_policy (Closes: #872414)
|
||||
* Ignore ABI changes in iommu_device, nand, and perf_event
|
||||
* pids: Avoid ABI change in 4.12.9
|
||||
* Bump ABI to 2
|
||||
|
||||
[ Roger Shimizu ]
|
||||
* [armel] Disable CONFIG_STRICT_KERNEL_RWX, which will save about 3MB
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[abi]
|
||||
abiname: 1
|
||||
abiname: 2
|
||||
ignore-changes:
|
||||
__cpuhp_*
|
||||
bpf_analyzer
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
From: Ben Hutchings <ben@decadent.org.uk>
|
||||
Date: Thu, 31 Aug 2017 01:26:42 +0100
|
||||
Subject: pids: Avoid ABI change in 4.12.9
|
||||
Forwarded: not-needed
|
||||
|
||||
Commit dd1c1f2f2028 "pids: make task_tgid_nr_ns() safe" changed
|
||||
task_tgid_nr_ns() from an exported extern function to a static inline.
|
||||
Change it back.
|
||||
|
||||
---
|
||||
--- a/include/linux/pid.h
|
||||
+++ b/include/linux/pid.h
|
||||
@@ -8,9 +8,12 @@ enum pid_type
|
||||
PIDTYPE_PID,
|
||||
PIDTYPE_PGID,
|
||||
PIDTYPE_SID,
|
||||
- PIDTYPE_MAX,
|
||||
+ PIDTYPE_MAX
|
||||
+#ifndef __GENKSYMS__
|
||||
+ ,
|
||||
/* only valid to __task_pid_nr_ns() */
|
||||
__PIDTYPE_TGID
|
||||
+#endif
|
||||
};
|
||||
|
||||
/*
|
||||
--- a/kernel/pid.c
|
||||
+++ b/kernel/pid.c
|
||||
@@ -540,6 +540,12 @@ pid_t __task_pid_nr_ns(struct task_struc
|
||||
}
|
||||
EXPORT_SYMBOL(__task_pid_nr_ns);
|
||||
|
||||
+pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
|
||||
+{
|
||||
+ return __task_pid_nr_ns(tsk, __PIDTYPE_TGID, ns);
|
||||
+}
|
||||
+EXPORT_SYMBOL(task_tgid_nr_ns);
|
||||
+
|
||||
struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)
|
||||
{
|
||||
return ns_of_pid(task_pid(tsk));
|
||||
--- a/include/linux/sched.h
|
||||
+++ b/include/linux/sched.h
|
||||
@@ -1168,10 +1168,7 @@ static inline pid_t task_session_vnr(str
|
||||
return __task_pid_nr_ns(tsk, PIDTYPE_SID, NULL);
|
||||
}
|
||||
|
||||
-static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns)
|
||||
-{
|
||||
- return __task_pid_nr_ns(tsk, __PIDTYPE_TGID, ns);
|
||||
-}
|
||||
+extern pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns);
|
||||
|
||||
static inline pid_t task_tgid_vnr(struct task_struct *tsk)
|
||||
{
|
|
@ -129,7 +129,6 @@ bugfix/alpha/alpha-restore-symbol-versions-for-symbols-exported-f.patch
|
|||
bugfix/all/module-disable-matching-missing-version-crc.patch
|
||||
|
||||
# ABI maintenance
|
||||
debian/pids-avoid-abi-change-in-4.12.9.patch
|
||||
|
||||
# Tools bug fixes
|
||||
bugfix/all/usbip-document-tcp-wrappers.patch
|
||||
|
|
Loading…
Reference in New Issue