Print this page
4142 truss should expand connect() arguments

@@ -106,42 +106,43 @@
 #define MIF     65              /* print meminfo() argument */
 #define PFM     66              /* print so_socket() proto-family (1st) arg */
 #define SKT     67              /* print so_socket() socket type (2nd) arg */
 #define SKP     68              /* print so_socket() protocol (3rd) arg */
 #define SKV     69              /* print so_socket() version (5th) arg */
-#define SOL     70              /* print [sg]etsockopt() level (2nd) arg */
-#define SON     71              /* print [sg]etsockopt() name (3rd) arg */
-#define UTT     72              /* print utrap type */
-#define UTH     73              /* print utrap handler */
-#define ACC     74              /* print access flags */
-#define SHT     75              /* print shutdown() "how" (2nd) arg */
-#define FFG     76              /* print fcntl() flags (3rd) arg */
-#define PRS     77              /* privilege set */
-#define PRO     78              /* privilege set operation */
-#define PRN     79              /* privilege set name */
-#define PFL     80              /* privilege/process flag name */
-#define LAF     81              /* print lgrp_affinity arguments */
-#define KEY     82              /* print key_t 0 as IPC_PRIVATE */
-#define ZGA     83              /* print zone_getattr attribute types */
-#define ATC     84              /* print AT_FDCWD or file descriptor */
-#define LIO     85              /* print LIO_XX flags */
-#define DFL     86              /* print door_create() flags */
-#define DPM     87              /* print DOOR_PARAM_XX flags */
-#define TND     88              /* print trusted network data base opcode */
-#define RSC     89              /* print rctlsys subcode */
-#define RGF     90              /* print rctlsys_get flags */
-#define RSF     91              /* print rctlsys_set flags */
-#define RCF     92              /* print rctlsys_ctl flags */
-#define FXF     93              /* print forkx flags */
-#define SPF     94              /* print rctlsys_projset flags */
-#define UN1     95              /* unsigned except for -1 */
-#define MOB     96              /* print mmapobj() flags */
-#define SNF     97              /* print AT_SYMLINK_[NO]FOLLOW flag */
-#define SKC     98              /* print sockconfig subcode */
-#define ACF     99              /* accept4 flags */
-#define PFD     100             /* pipe fds[2] */
-#define HID     101             /* hidden argument, don't print */
+#define SAD     70              /* print sockaddr and len for connect() */
+#define SOL     71              /* print [sg]etsockopt() level (2nd) arg */
+#define SON     72              /* print [sg]etsockopt() name (3rd) arg */
+#define UTT     73              /* print utrap type */
+#define UTH     74              /* print utrap handler */
+#define ACC     75              /* print access flags */
+#define SHT     76              /* print shutdown() "how" (2nd) arg */
+#define FFG     77              /* print fcntl() flags (3rd) arg */
+#define PRS     78              /* privilege set */
+#define PRO     79              /* privilege set operation */
+#define PRN     80              /* privilege set name */
+#define PFL     81              /* privilege/process flag name */
+#define LAF     82              /* print lgrp_affinity arguments */
+#define KEY     83              /* print key_t 0 as IPC_PRIVATE */
+#define ZGA     84              /* print zone_getattr attribute types */
+#define ATC     85              /* print AT_FDCWD or file descriptor */
+#define LIO     86              /* print LIO_XX flags */
+#define DFL     87              /* print door_create() flags */
+#define DPM     88              /* print DOOR_PARAM_XX flags */
+#define TND     89              /* print trusted network data base opcode */
+#define RSC     90              /* print rctlsys subcode */
+#define RGF     91              /* print rctlsys_get flags */
+#define RSF     92              /* print rctlsys_set flags */
+#define RCF     93              /* print rctlsys_ctl flags */
+#define FXF     94              /* print forkx flags */
+#define SPF     95              /* print rctlsys_projset flags */
+#define UN1     96              /* unsigned except for -1 */
+#define MOB     97              /* print mmapobj() flags */
+#define SNF     98              /* print AT_SYMLINK_[NO]FOLLOW flag */
+#define SKC     99              /* print sockconfig subcode */
+#define ACF     100             /* accept4 flags */
+#define PFD     101             /* pipe fds[2] */
+#define HID     102             /* hidden argument, don't print */
                                 /* make sure HID is always the last member */
 
 /*
  * Print routines, indexed by print codes.
  */