{"push_id":2913443304,"size":1,"distinct_size":1,"ref":"refs/heads/kdb_print_real_address_of_pointers_instead_of_hashed_addresses_mbox_next","head":"de784990d40e7393ec32c6c9f03a79a34db14c55","before":"76c09442bb7a8c33477a0772609444ee53c9cba6","commits":[{"sha":"de784990d40e7393ec32c6c9f03a79a34db14c55","author":{"name":"Christophe Leroy","email":"4e2d3d12816ace76f1cfa36c1816509bd24cf089@c-s.fr"},"message":"kdb: print real address of pointers instead of hashed addresses\n\nSince commit ad67b74d2469 (\"printk: hash addresses printed with %p\"),\nall pointers printed with %p are printed with hashed addresses\ninstead of real addresses in order to avoid leaking addresses in\ndmesg and syslog. But this applies to kdb too, with is unfortunate:\n\n    Entering kdb (current=0x(ptrval), pid 329) due to Keyboard Entry\n    kdb> ps\n    15 sleeping system daemon (state M) processes suppressed,\n    use 'ps A' to see all.\n    Task Addr       Pid   Parent [*] cpu State Thread     Command\n    0x(ptrval)      329      328  1    0   R  0x(ptrval) *sh\n\n    0x(ptrval)        1        0  0    0   S  0x(ptrval)  init\n    0x(ptrval)        3        2  0    0   D  0x(ptrval)  rcu_gp\n    0x(ptrval)        4        2  0    0   D  0x(ptrval)  rcu_par_gp\n    0x(ptrval)        5        2  0    0   D  0x(ptrval)  kworker/0:0\n    0x(ptrval)        6        2  0    0   D  0x(ptrval)  kworker/0:0H\n    0x(ptrval)        7        2  0    0   D  0x(ptrval)  kworker/u2:0\n    0x(ptrval)        8        2  0    0   D  0x(ptrval)  mm_percpu_wq\n    0x(ptrval)       10        2  0    0   D  0x(ptrval)  rcu_preempt\n\nThe whole purpose of kdb is to debug, and for debugging real addresses\nneed to be known. In addition, data displayed by kdb doesn't go into\ndmesg.\n\nThis patch replaces all %p by %px in kdb in order to display real\naddresses.\n\nFixes: ad67b74d2469 (\"printk: hash addresses printed with %p\")\nCc: <stable@vger.kernel.org>\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/de784990d40e7393ec32c6c9f03a79a34db14c55"}]}
{"actor":{"display_login":"ruscur"}}