~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to testing/kernelconfigs/extras.2.6.6-1.patch

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- plain26/arch/um/os-Linux/process.c.orig     Sun Jul 25 10:10:02 2004
 
2
+++ plain26/arch/um/os-Linux/process.c  Sun Jul 25 10:11:39 2004
 
3
@@ -93,8 +93,11 @@
 
4
 
 
5
 void os_usr1_process(int pid)
 
6
 {
 
7
+#ifdef __NR_tkill
 
8
        syscall(__NR_tkill, pid, SIGUSR1); 
 
9
-       /* kill(pid, SIGUSR1); */
 
10
+#else
 
11
+       kill(pid, SIGUSR1); 
 
12
+#endif
 
13
 }
 
14
 
 
15
 int os_getpid(void)