Are small Swiss Army Knives (under 4 inches) allowed in flights (both domestic and international)?

I have heard that swiss army knives under 4 inches are allowed with hand-carry luggage, but I'm not sure if this information is correct. What about check-in luggage?