Print this page
4142 truss should expand connect() arguments

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/truss/systable.c
          +++ new/usr/src/cmd/truss/systable.c
↓ open down ↓ 445 lines elided ↑ open up ↑
 446  446  {"open64",      3, DEC, NOV, STG, OPN, OCT},                    /* 225 */
 447  447  {"rpcmod",      3, DEC, NOV, DEC, HEX},                         /* 226 */
 448  448  {"zone",        5, DEC, NOV, DEC, HEX, HEX, HEX, HEX},          /* 227 */
 449  449  {"autofssys",   2, DEC, NOV, DEC, HEX},                         /* 228 */
 450  450  {"getcwd",      3, DEC, NOV, RST, DEC},                         /* 229 */
 451  451  {"so_socket",   5, DEC, NOV, PFM, SKT, SKP, STG, SKV},          /* 230 */
 452  452  {"so_socketpair", 1, DEC, NOV, HEX},                            /* 231 */
 453  453  {"bind",        4, DEC, NOV, DEC, HEX, DEC, SKV},               /* 232 */
 454  454  {"listen",      3, DEC, NOV, DEC, DEC, SKV},                    /* 233 */
 455  455  {"accept",      5, DEC, NOV, DEC, HEX, HEX, SKV, ACF},          /* 234 */
 456      -{"connect",     4, DEC, NOV, DEC, HEX, DEC, SKV},               /* 235 */
      456 +{"connect",     4, DEC, NOV, DEC, SAD, DEC, SKV},               /* 235 */
 457  457  {"shutdown",    3, DEC, NOV, DEC, SHT, SKV},                    /* 236 */
 458  458  {"recv",        4, DEC, NOV, DEC, IOB, DEC, DEC},               /* 237 */
 459  459  {"recvfrom",    6, DEC, NOV, DEC, IOB, DEC, DEC, HEX, HEX},     /* 238 */
 460  460  {"recvmsg",     3, DEC, NOV, DEC, HEX, DEC},                    /* 239 */
 461  461  {"send",        4, DEC, NOV, DEC, IOB, DEC, DEC},               /* 240 */
 462  462  {"sendmsg",     3, DEC, NOV, DEC, HEX, DEC},                    /* 241 */
 463  463  {"sendto",      6, DEC, NOV, DEC, IOB, DEC, DEC, HEX, DEC},     /* 242 */
 464  464  {"getpeername", 4, DEC, NOV, DEC, HEX, HEX, SKV},               /* 243 */
 465  465  {"getsockname", 4, DEC, NOV, DEC, HEX, HEX, SKV},               /* 244 */
 466  466  {"getsockopt",  6, DEC, NOV, DEC, SOL, SON, HEX, HEX, SKV},     /* 245 */
↓ open down ↓ 1270 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX