[PATCH 00/12] printf() fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Michael,

Here are some patches related to printf().

Cheers,

Alex

Alejandro Colomar (12):
  dl_iterate_phdr.3: Cast 'ElfN_Word' to 'uintmax_t' for printf()
  malloc_hook.3: Remove unneeded cast, and print 'size_t' with "%zu"
  pthread_getcpuclockid.3: Cast 'time_t' to 'intmax_t' for printf()
  getgrent_r.3: Cast 'gid_t' to 'intmax_t' for printf()
  getpwent_r.3: Cast 'uid_t' to 'intmax_t' for printf()
  rtld-audit.7: Use "%u" rather than "%d" when printing 'unsigned int'
    values
  userfaultfd.2: Use 'PRIx64' rather than "%llx" when printing 64-bit
    fixed-width types
  clock_getres.2: Cast 'time_t' to 'intmax_t' for printf() and fix the
    length modifiers
  open_by_handle_at.2: Use "%u" rather than "%d" when printing 'unsigned
    int' values
  spu_run.2: Cast 'int' to 'unsigned int' when printing with "%x"
  mprotect.2: Use "%p" rather than casting to 'long' when printing
    adresses (pointer values)
  pidfd_open.2: Cast 'short' to 'unsigned int' when printing with "%x"

 man2/clock_getres.2          | 7 +++++--
 man2/mprotect.2              | 5 ++---
 man2/open_by_handle_at.2     | 2 +-
 man2/pidfd_open.2            | 3 ++-
 man2/spu_run.2               | 2 +-
 man2/userfaultfd.2           | 7 ++++---
 man3/dl_iterate_phdr.3       | 7 ++++---
 man3/getgrent_r.3            | 3 ++-
 man3/getpwent_r.3            | 5 +++--
 man3/malloc_hook.3           | 4 ++--
 man3/pthread_getcpuclockid.3 | 3 ++-
 man7/rtld-audit.7            | 6 +++---
 12 files changed, 31 insertions(+), 23 deletions(-)

-- 
2.28.0




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux