UC Berkeley Letters and Science Majors

After fulfilling the required classes, is admission a competition where those with the highest GPAs get in? Is there a GPA cut off that is published in advance and anyone with that GPA or higher can declare the major? Or is it a lottery like CS is at UCSD?