execve: change address argument type from long to kernel_ureg_t
* execve.c (printargv, printargc): Change address argument type from long to kernel_ureg_t.
This commit is contained in:
4
execve.c
4
execve.c
@ -34,7 +34,7 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printargv(struct tcb *tcp, long addr)
|
printargv(struct tcb *const tcp, kernel_ureg_t addr)
|
||||||
{
|
{
|
||||||
if (!addr || !verbose(tcp)) {
|
if (!addr || !verbose(tcp)) {
|
||||||
printaddr(addr);
|
printaddr(addr);
|
||||||
@ -76,7 +76,7 @@ printargv(struct tcb *tcp, long addr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
printargc(struct tcb *tcp, long addr)
|
printargc(struct tcb *const tcp, kernel_ureg_t addr)
|
||||||
{
|
{
|
||||||
if (!addr || !verbose(tcp)) {
|
if (!addr || !verbose(tcp)) {
|
||||||
printaddr(addr);
|
printaddr(addr);
|
||||||
|
Reference in New Issue
Block a user