Let D be a bounded
pseudoconvex domain with real-analytic boundary in C2 which satisfies a
geometric condition on the set of points where the Levi form degenerates. If
locally D has smooth defining functions plurisubharmonic on the boundary,
then D has a global smooth defining function plurisubharmonic on the
boundary.