On stretches with limited visibility and at the top of a hill, passing is banned only if it takes you into the oncoming lane. The danger is that you can't see an oncoming vehicle in time. If you pass in a lane going your way, for example on a road with two lanes in one direction, you don't use the oncoming lane, and this ban doesn't apply. There's no separate rule for buses