โฌข DragonFlyBSD Kernel Audit
DF-0716 / fix_run.log
โ† back to finding โ†“ download raw
---load fixed smbfs + test harness---
smbfs rc=0
 8    1 0xffffffff82600000    16000 smbfs.ko
strdup_test rc=0
===FIXED MODULE: race test (1M iterations)===
DF-0716: racing smb_strdupin for 1000000 iterations...
  string: 127 'A's on page A + NUL on page B (page boundary)
  racer:   toggling page B PROT_NONE <-> PROT_READ|PROT_WRITE
DF-0716: done.
  iterations:  1000000
  NULL (length loop caught fault): 348685
  OK (no race, correct string):    651315
  RACE WON (stale bytes returned):  0
  (race not won in 1000000 iterations โ€” code defect confirmed by source trace)
FIXED_RACE_RC=1
===FIXED MODULE: second run (500K)===
DF-0716: racing smb_strdupin for 500000 iterations...
  string: 127 'A's on page A + NUL on page B (page boundary)
  racer:   toggling page B PROT_NONE <-> PROT_READ|PROT_WRITE
DF-0716: done.
  iterations:  500000
  NULL (length loop caught fault): 163318
  OK (no race, correct string):    336682
  RACE WON (stale bytes returned):  0
  (race not won in 500000 iterations โ€” code defect confirmed by source trace)
FIXED_RACE2_RC=1
===FIXED MODULE: third run (1M)===
DF-0716: racing smb_strdupin for 1000000 iterations...
  string: 127 'A's on page A + NUL on page B (page boundary)
  racer:   toggling page B PROT_NONE <-> PROT_READ|PROT_WRITE
DF-0716: done.
  iterations:  1000000
  NULL (length loop caught fault): 310089
  OK (no race, correct string):    689911
  RACE WON (stale bytes returned):  0
  (race not won in 1000000 iterations โ€” code defect confirmed by source trace)
FIXED_RACE3_RC=1