[Lsb-messages] /var/www/bzr/lsb/devel/build_env r2155: three _chk funcs should have been exposed like their relatives (bug 3854)

Mats Wichmann mats at linuxfoundation.org
Fri Sep 13 18:05:07 UTC 2013


------------------------------------------------------------
revno: 2155
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: build_env
timestamp: Fri 2013-09-13 12:05:07 -0600
message:
  three _chk funcs should have been exposed like their relatives (bug 3854)
modified:
  headers/All/4.0/stdio.h.defs
  headers/All/4.0/string.h.defs
  headers/All/4.1/stdio.h.defs
  headers/All/4.1/string.h.defs
  headers/All/5.0/stdio.h.defs
  headers/All/5.0/string.h.defs
  headers/stdio.h
  headers/string.h
  package/Makefile
-------------- next part --------------
=== modified file 'headers/All/4.0/stdio.h.defs'
--- a/headers/All/4.0/stdio.h.defs	2013-02-05 15:04:13 +0000
+++ b/headers/All/4.0/stdio.h.defs	2013-09-13 18:05:07 +0000
@@ -36,9 +36,11 @@
 extern char *__fgets_chk(char *, size_t, int, FILE *);
 extern char *__fgets_unlocked_chk(char *, size_t, int, FILE *);
 extern size_t __fpending(FILE *);
+extern int __fprintf_chk(FILE *, int, const char *, ...);
 extern int __printf_chk(int, const char *, ...);
 extern int __snprintf_chk(char *, size_t, int, size_t, const char *, ...);
 extern int __sprintf_chk(char *, int, size_t, const char *, ...);
+extern int __vfprintf_chk(FILE *, int, const char *, va_list);
 extern int __vprintf_chk(int, const char *, va_list);
 extern int __vsnprintf_chk(char *, size_t, int, size_t, const char *,
 			   va_list);

=== modified file 'headers/All/4.0/string.h.defs'
--- a/headers/All/4.0/string.h.defs	2009-04-26 12:14:54 +0000
+++ b/headers/All/4.0/string.h.defs	2013-09-13 18:05:07 +0000
@@ -8,6 +8,7 @@
 extern void *__memset_chk(void *, int, size_t, size_t);
 extern char *__stpcpy(char *__dest, const char *__src);
 extern char *__stpcpy_chk(char *, const char *, size_t);
+extern char *__stpncpy_chk(char *, const char *, size_t, size_t);
 extern char *__strcat_chk(char *, const char *, size_t);
 extern char *__strcpy_chk(char *, const char *, size_t);
 extern char *__strncat_chk(char *, const char *, size_t, size_t);

=== modified file 'headers/All/4.1/stdio.h.defs'
--- a/headers/All/4.1/stdio.h.defs	2013-02-05 15:04:13 +0000
+++ b/headers/All/4.1/stdio.h.defs	2013-09-13 18:05:07 +0000
@@ -36,9 +36,11 @@
 extern char *__fgets_chk(char *, size_t, int, FILE *);
 extern char *__fgets_unlocked_chk(char *, size_t, int, FILE *);
 extern size_t __fpending(FILE *);
+extern int __fprintf_chk(FILE *, int, const char *, ...);
 extern int __printf_chk(int, const char *, ...);
 extern int __snprintf_chk(char *, size_t, int, size_t, const char *, ...);
 extern int __sprintf_chk(char *, int, size_t, const char *, ...);
+extern int __vfprintf_chk(FILE *, int, const char *, va_list);
 extern int __vprintf_chk(int, const char *, va_list);
 extern int __vsnprintf_chk(char *, size_t, int, size_t, const char *,
 			   va_list);

=== modified file 'headers/All/4.1/string.h.defs'
--- a/headers/All/4.1/string.h.defs	2009-11-03 20:41:16 +0000
+++ b/headers/All/4.1/string.h.defs	2013-09-13 18:05:07 +0000
@@ -8,6 +8,7 @@
 extern void *__memset_chk(void *, int, size_t, size_t);
 extern char *__stpcpy(char *__dest, const char *__src);
 extern char *__stpcpy_chk(char *, const char *, size_t);
+extern char *__stpncpy_chk(char *, const char *, size_t, size_t);
 extern char *__strcat_chk(char *, const char *, size_t);
 extern char *__strcpy_chk(char *, const char *, size_t);
 extern char *__strncat_chk(char *, const char *, size_t, size_t);

=== modified file 'headers/All/5.0/stdio.h.defs'
--- a/headers/All/5.0/stdio.h.defs	2013-02-05 15:04:13 +0000
+++ b/headers/All/5.0/stdio.h.defs	2013-09-13 18:05:07 +0000
@@ -36,9 +36,11 @@
 extern char *__fgets_chk(char *, size_t, int, FILE *);
 extern char *__fgets_unlocked_chk(char *, size_t, int, FILE *);
 extern size_t __fpending(FILE *);
+extern int __fprintf_chk(FILE *, int, const char *, ...);
 extern int __printf_chk(int, const char *, ...);
 extern int __snprintf_chk(char *, size_t, int, size_t, const char *, ...);
 extern int __sprintf_chk(char *, int, size_t, const char *, ...);
+extern int __vfprintf_chk(FILE *, int, const char *, va_list);
 extern int __vprintf_chk(int, const char *, va_list);
 extern int __vsnprintf_chk(char *, size_t, int, size_t, const char *,
 			   va_list);

=== modified file 'headers/All/5.0/string.h.defs'
--- a/headers/All/5.0/string.h.defs	2013-03-11 21:23:29 +0000
+++ b/headers/All/5.0/string.h.defs	2013-09-13 18:05:07 +0000
@@ -10,6 +10,7 @@
 extern void *__memset_chk(void *, int, size_t, size_t);
 extern char *__stpcpy(char *__dest, const char *__src);
 extern char *__stpcpy_chk(char *, const char *, size_t);
+extern char *__stpncpy_chk(char *, const char *, size_t, size_t);
 extern char *__strcat_chk(char *, const char *, size_t);
 extern char *__strcpy_chk(char *, const char *, size_t);
 extern char *__strncat_chk(char *, const char *, size_t, size_t);

=== modified file 'headers/stdio.h'
--- a/headers/stdio.h	2013-09-04 02:11:30 +0000
+++ b/headers/stdio.h	2013-09-13 18:05:07 +0000
@@ -216,10 +216,12 @@
 #if __LSB_VERSION__ >= 40
     extern char *__fgets_chk(char *, size_t, int, FILE *);
     extern char *__fgets_unlocked_chk(char *, size_t, int, FILE *);
+    extern int __fprintf_chk(FILE *, int, const char *, ...);
     extern int __printf_chk(int, const char *, ...);
     extern int __snprintf_chk(char *, size_t, int, size_t, const char *,
 			      ...);
     extern int __sprintf_chk(char *, int, size_t, const char *, ...);
+    extern int __vfprintf_chk(FILE *, int, const char *, va_list);
     extern int __vprintf_chk(int, const char *, va_list);
     extern int __vsnprintf_chk(char *, size_t, int, size_t, const char *,
 			       va_list);

=== modified file 'headers/string.h'
--- a/headers/string.h	2013-03-11 21:23:29 +0000
+++ b/headers/string.h	2013-09-13 18:05:07 +0000
@@ -89,6 +89,7 @@
     extern void *__mempcpy_chk(void *, const void *, size_t, size_t);
     extern void *__memset_chk(void *, int, size_t, size_t);
     extern char *__stpcpy_chk(char *, const char *, size_t);
+    extern char *__stpncpy_chk(char *, const char *, size_t, size_t);
     extern char *__strcat_chk(char *, const char *, size_t);
     extern char *__strcpy_chk(char *, const char *, size_t);
     extern char *__strncat_chk(char *, const char *, size_t, size_t);

=== modified file 'package/Makefile'
--- a/package/Makefile	2013-09-10 19:42:09 +0000
+++ b/package/Makefile	2013-09-13 18:05:07 +0000
@@ -46,7 +46,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=2
+RPM_PACKAGE_RELEASE=3
 
 # Initialize LIB64 to proper value for 64-bit architectures
 export LIB64:=$(shell case `uname -m` in (ppc64 | s390x | x86_64) echo 64 ;; esac)



More information about the lsb-messages mailing list